multiple.html 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Multiple Select - 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>Load Dynamic ComboBox Data</h2>
  14. <p>Drop down the panel and select multiple items.</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. value:[1,3],
  24. multiple:true,
  25. panelHeight:'auto',
  26. label: 'Language:',
  27. labelPosition: 'top'
  28. ">
  29. </div>
  30. </div>
  31. </body>
  32. </html>