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
1 Answer
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