houssam_ballout Posted February 5, 2008 Share Posted February 5, 2008 Hello all,I'd a form I want to enable a text when a check box is enabled and vice versa? Could I do that without form submission?Thanks in advance Link to comment Share on other sites More sharing options...
rnd me Posted February 5, 2008 Share Posted February 5, 2008 <textarea rows='10' cols='80' id='text1' disabled="disabled" > this is some text to try to edit </textarea> disabled ? <input type='checkbox' onchange="document.getElementById('text1').disabled=this.checked; " /> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.