Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save abrjagad/9615696 to your computer and use it in GitHub Desktop.
Save abrjagad/9615696 to your computer and use it in GitHub Desktop.
allow only one check box checked in group
$(".accord_table").on("change",'.currentTable :checkbox',function(event){
var group = $(this).closest(".currentTable").find(":checkbox");
group.not($(this)).removeProp("checked");
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment