remotedata.html 836 B

123456789101112131415161718192021222324252627
  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. <p>The ComboBox is bound to a remote data.</p>
  15. <div style="margin:20px 0"></div>
  16. <input class="easyui-combobox"
  17. name="language"
  18. data-options="
  19. url:'combobox_data1.json',
  20. method:'get',
  21. valueField:'id',
  22. textField:'text',
  23. panelHeight:'auto'
  24. ">
  25. </body>
  26. </html>