/ Published in: JavaScript
Expand |
Embed | Plain Text
<SCRIPT LANGUAGE="JavaScript"> function checkAll() { var theForm, z = 0; theForm = form_1; for(z=0; z<theForm.length;z++){ if(theForm[z].type == 'checkbox'){ theForm[z].checked = true; } } } function uncheckAll() { var theForm, z = 0; theForm = form_1; for(z=0; z<theForm.length;z++){ if(theForm[z].type == 'checkbox'){ theForm[z].checked = false; } } } </SCRIPT>
You need to login to post a comment.
