Rate this script:  I Love it  /   I Hate it

Prototype DOM-inspecting selector


Code


$$('form#itemList fieldset.toggleable input[type=checkbox]').each(function(input){
  input.checked = !input.checked;
});
 

 

 
Prototype DOM-inspecting selector scripts | Prototype DOM-inspecting selector snippet | Prototype DOM-inspecting selector example | Prototype DOM-inspecting selector tutorial | Prototype DOM-inspecting selector code