forked from mgibbs189/fSelect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
32 lines (32 loc) · 971 Bytes
/
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
<html>
<head>
<title>fSelect Test</title>
<link href="fSelect.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="fSelect.js"></script>
<script>
(function($) {
$(function() {
$('.test').fSelect();
});
})(jQuery);
</script>
</head>
<body>
<select class="test" multiple="multiple">
<optgroup label="Group A">
<option value="1">Option 1</option>
<option value="2" selected>Option 2</option>
<option value="3">Option 3</option>
<option value="4" disabled>Manège</option>
<option value="5">Bête</option>
</optgroup>
<optgroup label="Group B">
<option value="6" selected>Option 6</option>
<option value="7">Option 7</option>
<option value="8">Option 8</option>
<option value="9">Mécanique</option>
</optgroup>
</select>
</body>
</html>