Created
April 2, 2013 20:59
-
-
Save steffenr/5296135 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Check all other checkboxes with same name also. | |
var elem_name = e.currentTarget.name; | |
var filter_check = $('input[name="'+elem_name+'"]'); | |
filter_check.attr("checked", this.checked); | |
// Use uniform's update function. | |
$.uniform.update(filter_check); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment