-
Notifications
You must be signed in to change notification settings - Fork 0
/
nextjs.js
26 lines (15 loc) · 1.06 KB
/
nextjs.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
function validation(){
if(document.getElementById('1').checked) {location.href = 'results.html';}
else if(document.getElementById('2').checked) {location.href = 'results.html';}
else if(document.getElementById('3').checked) {location.href = 'results.html';}
else if(document.getElementById('4').checked) {location.href = 'results.html';}
else if(document.getElementById('5').checked) {location.href = 'results.html';}
else if(document.getElementById('6').checked) {location.href = 'results.html';}
else if(document.getElementById('7').checked) {location.href = 'results.html';}
else if(document.getElementById('8').checked) {location.href = 'results.html';}
else if(document.getElementById('9').checked) {location.href = 'results.html';}
else if(document.getElementById('10').checked) {location.href = 'results.html';}
else if(document.getElementById('11').checked) {location.href = 'results.html';}
else if(document.getElementById('12').checked) {location.href = 'results.html';}
else{window.alert("Valid entry is required. (There is an option for NONE)");}
}