By codershelpdesk
via codershelpdesk.com
Published: Jun 15 2012 / 16:09
I am going to create a simple function in javascript. This function will check all the check boxes in a HTML Form.
Function name is checkALL();
” var checkVal = document.checkallfrm.allbookings.checked; ” This line will give you “true” or “false” in the javascript code. If it is true all check boxes will checked. If it is false all check boxes unchecked
Add your comment