I have a form with a lot of check boxes and I would like to be able to have two links, one that checks all the check boxes when clicked and another than unchecks all the checkboxes.

Yahoo Mail use something just like I am looking for but I looked at the source and it didn't help at all .

Thanks For Your Help