Jump to content

Recognizing if a specific select option was chosen?


galvin

Recommended Posts

If you have a straightforward select menu like the one below, what javascript code could be used to say (in plain english).."if the option for OTHER is selected, run this function".

 

I tried doing "onfocus" in the option value for OTHER, but it didn't work.  Can anyone help?

 

<option value="1and1">1 & 1</option>
<option value="enom">eNom</option>
<option value="godaddy">GoDaddy</option>
<option value="namecheap">NameCheap</option>
<option value="networksolutions">Network Solutions</option>
<option value="register">Register.com</option>
<option value="srsplus">SRS Plus</option>
<option value="other">OTHER</option>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.