-
Notifications
You must be signed in to change notification settings - Fork 1
/
example.html
69 lines (69 loc) · 1.99 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Title</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script src="jquery.shared.options.js"></script>
</head>
<body>
<form action="#">
<p>
<label>
Dropdown 1
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 2
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 3
<select>
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<p>
<label>
Dropdown 4
<select id="dropdown4">
<option value="">-- Select One --</option>
<option value="uno">One</option>
<option value="dos">Two</option>
<option value="tres">Three</option>
<option value="cuatro" selected="selected">Four</option>
<option value="cinco">Five</option>
</select>
</label>
</p>
<input type="submit"/>
</form>
</body>
<script>
$('form select').sharedOptions();
</script>
</html>