1
0
Fork 0
ComboBox/testComboBox.html
2012-03-19 15:38:55 -01:00

23 lines
942 B
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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