Question : Check for multiple variables

I want to check for more than one variable in the code below.
One variable is VEHC and the other is GENR.
I am not very good at javascript. (just learning)
Thanks for the help.
1:
2:
3:
4:
if(val=='VEHC')
            document.getElementById("new_used_box").style.display = "block";
      else
            document.getElementById("new_used_box").style.display = "none";

Answer : Check for multiple variables

Just turn off printing the dropdown box in the options and you won't have to hide it with another item.

NG,
Random Solutions  
 
programming4us programming4us