remotedata.html 908 B

1234567891011121314151617181920212223242526272829
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Binding to Remote Data - 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>Binding to Remote Data</h2>
  14. <div class="demo-info" style="margin-bottom:10px">
  15. <div class="demo-tip icon-tip"></div>
  16. <div>The ComboBox is bound to a remote data.</div>
  17. </div>
  18. <input class="easyui-combobox"
  19. name="language"
  20. data-options="
  21. url:'combobox_data1.json',
  22. method:'get',
  23. valueField:'id',
  24. textField:'text',
  25. panelHeight:'auto'
  26. ">
  27. </body>
  28. </html>