-
Notifications
You must be signed in to change notification settings - Fork 1
/
start.js
57 lines (22 loc) · 972 Bytes
/
start.js
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
$(document).ready(function () {
var select_first_html="";
select_first_html= select_first_html +"<select id=\"first_select\">";
select_first_html= select_first_html +"<option name=\"base1\" value=\"0\" id=\"base1_0\">Select the base to start</option>";
for (var i = 2; i <=520; i++) {
select_first_html=select_first_html+"<option name=\"base1\" value=\""+i+"\" id=\"base1_"+i+"\">"+i+"</option>";
};
select_first_html= select_first_html + "</select>";
$("#select_first").html(select_first_html);
$("#first_select").change(
function() {
var body_html_first=button_html_1($("#first_select").val());
$("#body_first").html(body_html_first);
$("#body_first").slideDown("slow");
$("#second").slideDown("slow");
$("#third").slideUp("slow");
$("#fourth").slideUp("slow");
$("#final").slideUp("slow");
}
);
/* End of main ready function --------------------------------------------------- */
});