ma******@hotmail.com (Mike) writes:
Hello all,
I have a form with a checkbox labeled other. I want to make it so if
the user clicks "other" a textbox appears right next to it allowing
them to fill in their value. If the other checkbox is unchecked, the
box disappears. Is this possible with Javascript? If so how would I go
about implementing this??
<input type="checkbox"
onclick="document.getElementById('textField').styl e.visibility =
this.checked?'visible':'hidden';">
<input type="text" id="textField" style="visibility:hidden;">
/L
--
Lasse Reichstein Nielsen -
lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'