multiline.html 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Multiline ComboBox - 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>Multiline ComboBox</h2>
  14. <p>This example shows how to create a multiline 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. <select class="easyui-combobox" name="state" multiple="true" multiline="true" label="Select States:" labelPosition="top" style="width:100%;height:100px;">
  19. <option value="AL">Alabama</option>
  20. <option value="AK">Alaska</option>
  21. <option value="AZ">Arizona</option>
  22. <option value="AR">Arkansas</option>
  23. <option value="CA">California</option>
  24. <option value="CO">Colorado</option>
  25. <option value="CT" selected>Connecticut</option>
  26. <option value="DE">Delaware</option>
  27. <option value="FL">Florida</option>
  28. <option value="GA">Georgia</option>
  29. <option value="HI">Hawaii</option>
  30. <option value="ID">Idaho</option>
  31. <option value="IL">Illinois</option>
  32. <option value="IN">Indiana</option>
  33. <option value="IA">Iowa</option>
  34. <option value="KS">Kansas</option>
  35. <option value="KY">Kentucky</option>
  36. <option value="LA" selected>Louisiana</option>
  37. <option value="ME">Maine</option>
  38. <option value="MD">Maryland</option>
  39. <option value="MA" selected>Massachusetts</option>
  40. <option value="MI">Michigan</option>
  41. <option value="MN">Minnesota</option>
  42. <option value="MS">Mississippi</option>
  43. <option value="MO">Missouri</option>
  44. <option value="MT">Montana</option>
  45. <option value="NE">Nebraska</option>
  46. <option value="NV">Nevada</option>
  47. <option value="NH">New Hampshire</option>
  48. <option value="NJ">New Jersey</option>
  49. <option value="NM">New Mexico</option>
  50. <option value="NY">New York</option>
  51. <option value="NC">North Carolina</option>
  52. <option value="ND">North Dakota</option>
  53. <option value="OH" selected>Ohio</option>
  54. <option value="OK">Oklahoma</option>
  55. <option value="OR" selected>Oregon</option>
  56. <option value="PA">Pennsylvania</option>
  57. <option value="RI">Rhode Island</option>
  58. <option value="SC">South Carolina</option>
  59. <option value="SD">South Dakota</option>
  60. <option value="TN">Tennessee</option>
  61. <option value="TX">Texas</option>
  62. <option value="UT">Utah</option>
  63. <option value="VT">Vermont</option>
  64. <option value="VA">Virginia</option>
  65. <option value="WA">Washington</option>
  66. <option value="WV">West Virginia</option>
  67. <option value="WI">Wisconsin</option>
  68. <option value="WY">Wyoming</option>
  69. </select>
  70. </div>
  71. </div>
  72. </body>
  73. </html>