Created
January 14, 2012 17:44
-
-
Save tirams/1612236 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function () { // this line makes sure this code runs on page load | |
$('.checkall').click(function () { | |
$(this).parents('fieldset:eq(0)').find(':checkbox').attr('checked', this.checked); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment