-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhackathon.js
More file actions
38 lines (38 loc) · 883 Bytes
/
Copy pathhackathon.js
File metadata and controls
38 lines (38 loc) · 883 Bytes
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
function readme(){
let a =document.getElementById("city").value;
console.log(a);
if (a=="Chandigarh"){
window.open("halls.html");
}
else if (a=="Faridkot"){
window.open("faridkot.html");
}
else if (a=="Delhi"){
window.open("delhi.html");
}
}
function city(){
let b =document.getElementById("inputstate").value;
if (b=="Chandigarh"){
window.open("halls.html");
}
else if (b=="Faridkot"){
window.open("faridkot.html");
}
else if (b=="Delhi"){
window.open("delhi.html");
}
}
function readme1(){
let c =document.getElementById("city15").value;
console.log(c);
if (c=="Chandigarh"){
window.open("halls1.html");
}
else if (c=="Faridkot"){
window.open("faridkot1.html");
}
else if (c=="Delhi"){
window.open("delhi1.html");
}
}