Posted By

zeropx on 06/02/11


Tagged

checkbox checker


Versions (?)

Checkbox checker


 / Published in: JavaScript
 

URL: http://eric.casequin.com/2011/06/01/check-all-your-checkboxes-in-one-click/

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.