23 lines
942 B
HTML
23 lines
942 B
HTML
|
<!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>
|