javascript - Can I use code inspector in Firefox to do a Check All input type = checkbox on a website that isn't mine? -
javascript - Can I use code inspector in Firefox to do a Check All input type = checkbox on a website that isn't mine? -
i have question little outside realm. i'm newbie jquery , javascript. run forum on proboards, , when forum runs out of allocation attachments (pictures users can post) have manually go through attachment list , check every single checkbox 1 one, able click delete button delete every attachment i've checked. checking thousands of boxes 1 1 takes forever. there no implemented "check all", , there thousands of checkboxes.
in code, every single checkbox has name ids[]:
<input type="checkbox" value="1494" name="ids[]"></input>
so should able target them name "ids[]" think. value different each one. name same all. question is... code utilize , set in firebug or inspector? i'm sadly much of noob able figure out do.
i have firebug firefox, , in have add-on jquerify, can forcefulness jquery code if helps create simplest solution.
basically i'm looking way add together code automatically check every single 1 of these boxes (or add together button allow me if way), , must able firebug or inspector in firefox (or in chrome fine). don't think able modify code (permanently) of specific administrative page of forum, need able inspector/firebug. i'd can re-create , paste there save myself 45 minutes hr of clicking thousands of checkboxes 1 one.
any solutions?
use this,
$("input:checkbox").attr('checked','checked');
javascript jquery checkbox selectall queryselectall
Comments
Post a Comment