Ok I have a combo box on my page which displays a number of options. Within the combo box I have an "Other (Please Specify)" Option - now when this happens I would like a text box to appear next to the combo to allow the user to specify what the other is.
The code so far:
<TR><TD>Colour:</TD><TD>
<select NAME="Colour">
<option VALUE="White" <% if rs("Colour" = "White" then response.write " SELECTED"%>>White</OPTION>
....
<option VALUE="Other"<% if rs("Colour" = "Other" then response.write " SELECTED"%>>Other (Please Specify)</OPTION>
</select>
<INPUT ID=XtraColour NAME=XtraColour VALUE='<%= rs("XtraColour" %>'>
</TD></TR>
Now I appeciate that I need to add an onChange="Function()"
but I can't get it to work!
Please Help!
Richard
The code so far:
<TR><TD>Colour:</TD><TD>
<select NAME="Colour">
<option VALUE="White" <% if rs("Colour" = "White" then response.write " SELECTED"%>>White</OPTION>
....
<option VALUE="Other"<% if rs("Colour" = "Other" then response.write " SELECTED"%>>Other (Please Specify)</OPTION>
</select>
<INPUT ID=XtraColour NAME=XtraColour VALUE='<%= rs("XtraColour" %>'>
</TD></TR>
Now I appeciate that I need to add an onChange="Function()"
but I can't get it to work!
Please Help!
Richard