Grant,

If you wanted to you could also simply do it this way:

<script type="text/javascript">

$(document).ready(function(){

    $("[EMAIL PROTECTED]'removeAll']").click(function() {

        var x = this.checked;

        $("[EMAIL PROTECTED]'remove[]']").each(function() {

            this.checked = x;
        });
    });

});

</script>


I functionalised it so I could use it on a number of pages, without 
writing the same code over and over.

I hope I have been of some assistance to you, I am very new to jQuery 
and Javascript in general myself.

Rob

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to