-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathtest.html
50 lines (46 loc) · 1.43 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<!--
Copyright (c) 2008 Jonathan Tang
Dual licensed under the MIT (MIT-LICENSE.txt)
and GPL (GPL-LICENSE.txt) licenses.
vim: set noexpandtab : -->
<html lang="en">
<head>
<title>ComboBox Test Suite</title>
<link rel="stylesheet" href="qunit/testsuite.css" type="text/css" media="screen">
<link rel = "stylesheet" type = "text/css" href = "ui.combobox.css" />
<script src = "jquery-1.2.6.js"></script>
<script src = "ui.core.js"></script>
<script src = "ui.combobox.js"></script>
<script src="qunit/testrunner.js"></script>
<script src="test.js"></script>
</head>
<body>
<h1>ComboBox Test Suite</h1>
<h2 id="banner"></h2>
<h2 id="userAgent"></h2>
<ol id="tests"></ol>
<div id="main" style = "position: absolute; top: -10000px">
<div id = "box1">
<h2>Simple combobox from array</h2>
<p>
<label for = "demo1">First demo: </label>
<input name = "field1" id = "demo1" class = "inputField" title = "Test"
size = "40" maxlength = "30" value = "Apples" />
</p>
<p><a href = "" onclick = "alert($('#demo1').val()); return false;">Show val</a></p>
</div>
<div id = "box2">
<h2>Simple combobox from select</h2>
<select id = "demo2">
<option value = "orange">Oranges</option>
<option value = "apple">Apples</option>
<option value = "pear">Pears</option>
<option value = "kiwi">Kiwis</option>
<option value = "banana">Bananas</option>
<option value = "grape">Grapes</option>
</select>
</div>
</div>
</body>
</html>