- 1,251 categories
- 40,829 scripts
Updated: 06/18/2007
- 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.
- Categories
- Platforms
- Licenses
- Author