View Single Post
  #2 (permalink)  
Old Apr 22nd, 2008, 21:01
CloudedVision's Avatar
CloudedVision CloudedVision is offline
Nerdy Moderator
Join Date: Feb 2008
Location: In My Own Little World
Age: 14
Posts: 942
Blog Entries: 8
Thanks: 2
Thanked 22 Times in 22 Posts
Send a message via AIM to CloudedVision Send a message via MSN to CloudedVision Send a message via Skype™ to CloudedVision
Re: Show/Hide text fields based on drop down

You can use something like this:

Code: Select all
<select id="myselect" name="myselect" onchange="if(this.selectedIndex==1) { /* Do something */ } else { /* do something else */ }">
<option>Option</option>
<option>Option</option>
<option>Option</option>
</select>
__________________
echo "Take it easy, ".$CloudedVision;
.links { site: other-road-design; blog: only-nerds-allowed; project: resource-fish; organization: ARMIES6; }
<quote>&quot;I think it's wrong that only one company makes the game Monopoly&quot; - <name>Steven Wright</name></quote>
Reply With Quote