Skip to content

Instantly share code, notes, and snippets.

@jney
Created February 15, 2010 14:56
Show Gist options
  • Save jney/304699 to your computer and use it in GitHub Desktop.
Save jney/304699 to your computer and use it in GitHub Desktop.
var inputs = parent.frames[1].document.getElementsByTagName("input");
for (var i in inputs) {
if (inputs[i].type && inputs[i].type.toLowerCase() == 'checkbox') {
inputs[i].checked="checked";
}
}
parent.frames[1].SetCmd("delete");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment