-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.html
42 lines (36 loc) · 1.18 KB
/
example.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
<html>
<head>
<link rel="stylesheet" type="text/css" href="dist/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="style.css"/>
</head>
<body>
<div style="width:300px; margin-right:auto;margin-left:auto;padding-top:100px;">
<select id="mydropdown">
<option value="1">Item 1</option>
<option value="12">Item 12</option>
<option value="3">Item 3</option>
<option value="4">Item 4</option>
<option value="5">Item 5</option>
<option value="6">Item 6</option>
</select>
</div>
<div style="width:300px; margin-right:auto;margin-left:auto;padding-top:100px;">
<select id="mydropdown2">
<option value="CE">Cool eggs</option>
<option value="KT">King Time</option>
<option value="EE">East of Easter</option>
<option value="ME">Merry Easter</option>
<option value="FU">Fun uptown</option>
<option value="TT">Timeland travel</option>
</select>
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="ValueSearchDropdown.js"></script>
<script>
$(function () {
$('#mydropdown').ValueSelectBox('init');
$('#mydropdown2').ValueSelectBox('init');
});
</script>
</body>
</html>