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.
Classifieds Theme (New 2022) - Download Now!Sponsored
Micro Jobs Theme - Setup a website like Fiverr today *New 2022*Sponsored




