You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

testComboBox.html 942B

12345678910111213141516171819202122
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
  6. Remove this if you use the .htaccess -->
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  8. <title>testComboBox</title>
  9. <!-- Stylesheets -->
  10. <link rel="stylesheet" type="text/css" href="combobox.css" />
  11. <!-- Javascript imports -->
  12. <script language="JavaScript" src="http://code.jquery.com/jquery.min.js"></script>
  13. </head>
  14. <body>
  15. <div id="cb1"></div><div id="cb2"></div><div id="cb3"></div><br/><br/>
  16. <button onclick="$('#cb3').ComboBox('del',0);">Delete 3-1</button>
  17. <button onclick="$('#cb3').ComboBox('disable',1);">Disable 3-2</button>
  18. <button onclick="$('#cb3').ComboBox('enable',1);">Enable 3-2</button>
  19. <button onclick="$('#cb3').ComboBox('clear');">Clear 3</button>​
  20. <script language="JavaScript" src="combobox.js"></script>
  21. </body>
  22. </html>