How to toggle all checkboxes on a form using jquery

    $("#selectall").click(function(){
        $(".checkbox").each(function(){
            $(this).attr("checked",!$(this).attr("checked"));
        });
    });
This entry was posted in Uncategorized by admin. Bookmark the permalink.

Comments are closed.