Dropdown box with dependent textfield
Hi all,
I am using jquery form validation
I have a dropdown box with 'other' as a selection. When someone selects other than they must fill in a textbox. I have looked everywhere including the examples here but all i can find is a checkbox dependency (which is no help to me). I am new to jquery so if anyone can help or give me some where to start that would be awesome.
<p>
<select name="fruits">
<option value="apple">apple</option>
<option value="orange">orange</option>
<option value="other">other</option>
</select>
</p>
<p>
<input type="text" name="other" id="other" /> dependent field