Question : How do I reference the elements of a HTML Select control from Javascript?

How do I reference the elements of a HTML Select control from Javascript?  And how do I detect if nothing is selected?

Answer : How do I reference the elements of a HTML Select control from Javascript?

something like this

if(selectControlName.selectedIndex ==0)
{
   //No selection
}
Random Solutions  
 
programming4us programming4us