-
Notifications
You must be signed in to change notification settings - Fork 0
/
chooseBetConditions.html
73 lines (65 loc) · 1.92 KB
/
chooseBetConditions.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
70
71
72
73
<!DOCTYPE html>
<html>
<head>
<script>
function switchCompare() {
if(document.getElementById("compare").value == "less") {
document.getElementById("compare").value = "more";
} else {
document.getElementById("compare").value = "less";
}
}
function populateDropdowns() {
}
</script>
</head>
<body>
<p>I bet user...{ALREADY SELECTED} that
<form>
<select id="mySelect">
<option>Vikings</option>
<option>Shaun Hill</option>
<option>Kyle Rudolph</option>
<option>Adrian Peterson</option>
</select>
<select id="mySelect2">
<option>Titans</option>
<option>Marcus Mariota</option>
<option>Demarco Murray</option>
<option>Denalie Walker</option>
</select>
will have
<input type="button" id = "compare" onclick="switchCompare()" value="more">
<select id="stat">
<option>Points</option>
<option>Passing yards</option>
<option>Fumbles</option>
<option>Touchdowns</option>
</select>
than
<select id="mySelect3">
<option>Vikings</option>
<option>Shaun Hill</option>
<option>Kyle Rudolph</option>
<option>Adrian Peterson</option>
</select>
<select id="mySelect4">
<option>Titans</option>
<option>Marcus Mariota</option>
<option>Demarco Murray</option>
<option>Denalie Walker</option>
</select>
by
<select id="mySelect5">
<option>14:30</option>
<option>14:00</option>
<option>13:30</option>
<option>13:00</option>
</select>
<br>
<br>
Current Game time (plus a small buffer): 14:42, First Quarter
</form>
</p>
</body>
</html>