Javascript Function to Check or Uncheck all Checkboxes

Category: JavaScript - Forms

Use this Javascript function to check or uncheck all the checkboxes in a form. This function is specially designed for dynamic pages with varying numbers of checkboxes. Unlike other functions out there, it will work without error even if there are no checkboxes or there is only one checkbox. It is also significantly faster for long lists, because it saves the length of the checkbox in a variable, instead of recalculating it in the loop. Finally, the function is granted to the public domain--use it as you wish. Date: 25 March, 2011

Homepage: http://www.somacon.com/p117.php

Developer: somacon.com

License: Shareware

Operating System: All

Add a Comment
- required fields
     
What do you think of this resource?

Select Your Rate:

Votes:0