0

I am trying to redirect my JavaScript to correct page in html using if else iteration.

I am trying to redirect my JavaScript to correct page in html using if else iteration. but I am not able to get the option from drop-down in html body syntax to JavaScript. what is the syntax. please help. it's my interview question

8th Dec 2017, 9:37 AM
Gaurav Kumar Dhangar
Gaurav Kumar Dhangar - avatar
1 ответ
0
i guess you're using select tag right? give it id name so javascript can accurately select it. you can use get elemen by id function
8th Dec 2017, 9:41 AM
Andika Romansyah