Posted By

zeropx on 06/02/11


checkbox checker

Versions (?)

Checkbox checker

 / Published in: JavaScript


On the site, drag the link noted to your bookmarks bar, then on pages where you need to check all the checkboxes quickly, just click it and it will check your boxes. :D Pretty cool. Thanks to #mattfarina to pointing that out.

  1. javascript:(function(d) { var input = d.getElementsByTagName('input'); var i = input.length; while (i--) { if (input[i].type === 'checkbox') { input[i].setAttribute('checked', 'checked'); } }})(this.document);

Report this snippet  

You need to login to post a comment.