One frequently wanted snippet is one with the ability to select
all checkboxes in a form. Although there are many around some have problems when
using an array as the desired ‘name’. This script overcomes this by using DOM.
Step 1: Add this code in the head section of the document. Between the
<HEAD></HEAD> tags.
Step 2: Add this code in the body section, between <BODY> </BODY> tags.
Thats all!!! To customise it just edit the inputs types just like you would for any form.
