This repository has been archived by the owner on Apr 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (41 loc) · 1.48 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link rel="stylesheet" href="css/cocoslist.css">
<!-- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> -->
<script src="js/cocoslist.js"></script>
</head>
<body>
<div id="wrapper">
<form action="check.php" method="post">
<select id="cocoslist" name="hero[]">
<option disabled>Âûáåðèòå ãåðîÿ</option>
<option value="×åáóðàøêà">×åáóðàøêà</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà</option>
<option selected value="Êðîêîäèë Ãåíà">Êðîêîäèë Ãåíà</option>
<option value="Øàïîêëÿê">Øàïîêëÿê</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà</option>
</select>
<select id="cocoslist" name="hero[]">
<option disabled>Âûáåðèòå ãåðîÿ</option>
<option value="×åáóðàøêà">×åáóðàøêà 1</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà 3</option>
<option selected value="Êðîêîäèë Ãåíà">Êðîêîäèë Ãåíà 1</option>
<option value="Øàïîêëÿê">Øàïîêëÿê 1</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà 1</option>
<option value="Êðûñà Ëàðèñà">Êðûñà Ëàðèñà 2</option>
</select>
<button>Îòïðàâèòü</button>
</form>
</div>
<script type="text/javascript">
window.addEventListener("load", function() {
[].forEach.call(document.querySelectorAll('select'), function(select, index) {
CocosList({element: select});
});
});
</script>
</body>
</html>