I want to create a 'select all' checkbox or button associated with a checkbox group. This is so that the user can automatically select all checkboxes in the group as there is a long list on the form.

Im sure there is a simple way to do this but Im am a real web design beginner..

Thanks in advance for your response


What language are you using? any way you can use a table to contain all checkboxes and use loop to access each row containing checkbox to access them

A little googleing on javascript snippets for checking form boxes landed me here (1st link for this query: "javascript 'check all' boxes in form"


There are any number of ways to implement this, but imnsho, javascript is going to be the most cross-browser friendly.