Hi all,
Say there are two checkboxes on a page (test1 and test2), I want to write a JavaScript code that disables one if the other is checked. Here's what I wrote that didn't work:
<input type="checkbox" name="test1" <script language="Javascript">if (test2.checked = true){document.write('DISABLED');}</script>>
Please help :D!!! Thanks a million!
Jeff