when using javascript how do you use select form to do if else statements?
Posted
by Nelson
on Stack Overflow
See other posts from Stack Overflow
or by Nelson
Published on 2010-03-09T07:30:40Z
Indexed on
2010/03/09
7:36 UTC
Read the original article
Hit count: 235
How do you take a value of an option in a select form and use it for a if else statement?
for example if apple is selected as an option then write to the document how to make applesauce but orange is selected then write how to make orange?
so far I have a basic form and select options and I know how to do the document.write but I dont know how to use a select form with if else
thanks for the help
© Stack Overflow or respective owner