Hi all, I'm sure this is super easy, but I can't seem to think what I'm doing wrong, anyway I have a "title" select list for my form, and I want to display a textbox if "Other" is selected.
<select name="title" id="title" class="required">
<option value="" selected="selected">- Select Title -</option>
<option value="Ms.">Ms.</option>
<option value="Mrs.">Mrs.</option>
<option value="Mr.">Mr.</option>
<option value="Dr.">Dr.</option>
<option value="Prof.">Prof.</option>
<option value="Rev.">Rev.</option>
<option value="Other" onclick="showOther();">Other</option>
</select>
function showOther() {
jQuery("#otherTitle").show();
}
But that's not working.. the #otherTitle textbox is hidden using jquery when the page loads.