icons.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>ComboBox with Extra Icons- jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>ComboBox with Extra Icons</h2>
  14. <p>The user can attach extra icons to the ComboBox.</p>
  15. <div style="margin:20px 0"></div>
  16. <div class="easyui-panel" style="width:100%;max-width:400px;padding:30px 60px;">
  17. <div style="margin-bottom:20px">
  18. <input class="easyui-combobox" name="language" style="width:100%;" data-options="
  19. url:'combobox_data1.json',
  20. method:'get',
  21. valueField:'id',
  22. textField:'text',
  23. panelHeight:'auto',
  24. iconWidth:22,
  25. icons:[{
  26. iconCls:'icon-add'
  27. },{
  28. iconCls:'icon-cut'
  29. }],
  30. label: 'Language:',
  31. labelPosition: 'top'
  32. ">
  33. </div>
  34. </div>
  35. </body>
  36. </html>