/ Published in: JavaScript
URL: http://www.dynamicdrive.com/forums/showthread.php?t=27245
Expand |
Embed | Plain Text
<script type="text/javascript"> <!-- function showMe (it, box) { var vis = (box.checked) ? "block" : "none"; document.getElementById(it).style.display = vis; } //--> </script> <input type="checkbox" name="modtype" value="value1" onclick="showMe('div1', this)" />
You need to login to post a comment.
