Skip to content

Instantly share code, notes, and snippets.

@dholmes
Created August 23, 2011 15:56
Show Gist options
  • Save dholmes/1165580 to your computer and use it in GitHub Desktop.
Save dholmes/1165580 to your computer and use it in GitHub Desktop.
[dojo] uncheck all the dijit checkBoxes contained within a single form, div, etc
dojo.query('#teamMemberInvitesList input[type=checkbox]').forEach(
function(node){
var checkbox = dijit.getEnclosingWidget(node);
if(checkbox){
checkbox.attr('checked',false);
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment