Return to Snippet

Revision: 19885
at November 3, 2009 03:42 by gerhardsletten


Initial Code
<script>

jQuery(document).ready(function() {
	jQuery("#selectall").click(function()
	{
		var checked_status = this.checked;
		jQuery("input[type='checkbox']").each(function()
		{
			this.checked = checked_status;
		});
	});
});
</script>

Initial URL


Initial Description


Initial Title
Toggle all checkboxes with jquery

Initial Tags
forms

Initial Language
jQuery