Javascript Function to Check or Uncheck all Checkboxes

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.

 
Visit Site:
Javascript Function to Check or Uncheck all Checkboxes
Filed in:
JavaScript / Scripts & Programs / Forms
Platforms:
LinuxMicrosoft WindowsUnixApple Mac OS XSun Solaris 
Date Added:
Dec 14, 2004 
Last Updated:
Jun 18, 2007 

License and Pricing Information

Freeware

Price: $0.00 USD

Publisher site visits: 3,864
Average rating: 4.25
Total ratings: 12

Be the first to review this listing!

Share this Listing