Suchy Posted March 27, 2008 Share Posted March 27, 2008 I have couple of check boxes on one page. What I want is that when someone clicks "other" a text input filed shows up. How can I do this? Quote Link to comment Share on other sites More sharing options...
rhodesa Posted March 27, 2008 Share Posted March 27, 2008 <input type="checkbox" name="other" onclick="document.getElementById('other_text').style.display=this.checked?'':'none';" /> <input type="text" id="other_text" name="other_text" style="display:none;" /> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.