Internet Explorer Q...
 

MegaSack DRAW - This year's winner is user - rgwb
We will be in touch

[Closed] Internet Explorer Question

15 Posts
6 Users
0 Reactions
68 Views
Posts: 27
Free Member
Topic starter
 

I need to select 3,600 checkboxes on a single page in Windows IE6. The only option available to me at the moment is to select them individually. Is there a way that I can select them all at the same time? ❓


 
Posted : 21/01/2009 5:03 pm
Posts: 0
Free Member
 

Hmmm - you seem to have a lot of interests or are you selecting porn titles to download ?

Sorry its the end of the day and I have nothing sensible left to say 🙂


 
Posted : 21/01/2009 5:09 pm
Posts: 27
Free Member
Topic starter
 

unfortunately not, it's a web-based reporting tool and there are 2 years of reports that I need to delete...


 
Posted : 21/01/2009 5:12 pm
Posts: 0
Free Member
 

AutoIt could probably help.


 
Posted : 21/01/2009 5:12 pm
Posts: 27
Free Member
Topic starter
 

not sure what that is, but can't be writing any script


 
Posted : 21/01/2009 5:14 pm
Posts: 0
Free Member
 

...though I'd be tempted to hack it by seeing what request ticking a couple of boxes sent and sending the appropriate request for the lot (can't remember what TCP/IP hacking tool I use offhand, as I'm in work where we're not supposed to use such things).


 
Posted : 21/01/2009 5:15 pm
Posts: 0
Free Member
 

but can't be writing any script

Not even if it's considerably quicker than doing it by hand?


 
Posted : 21/01/2009 5:16 pm
Posts: 27
Free Member
Topic starter
 

nah, I'm at work and also wouldn't have a clue where to start


 
Posted : 21/01/2009 5:23 pm
Posts: 0
Free Member
 

Have fun then. 😕


 
Posted : 21/01/2009 5:27 pm
Posts: 27
Free Member
Topic starter
 

surely Firefox has a miracle solution?


 
Posted : 21/01/2009 5:34 pm
Posts: 8177
Free Member
 

[url= https://addons.mozilla.org/en-US/firefox/addon/2708 ]It does indeed[/url]


 
Posted : 21/01/2009 5:35 pm
Posts: 0
 

just paste this (and only this) into your address bar.

[code]javascript:var f=document.getElementsByTagName("input");for(var i=0;i<f.length-1;i++){if(f[i].type=="checkbox"&&!f[i].checked){f[i].checked=true}};void(0);[/code]


 
Posted : 21/01/2009 5:42 pm
Posts: 27
Free Member
Topic starter
 

what will happen if I do?


 
Posted : 21/01/2009 11:30 pm
Posts: 27
Free Member
Topic starter
 

richtea, thanks you're a legend - worked perfectly 😀


 
Posted : 21/01/2009 11:36 pm
Posts: 0
 

no probs. being a code monkey does help from time to time 🙂


 
Posted : 22/01/2009 2:58 pm
Posts: 0
Free Member
 

[code]javascript:var f=document.getElementsByTagName("input");for(var i=0;i<f.length-1;i++){if(f[i].type=="checkbox"&&!f[i].checked){f[i].checked=true}};void(0);[/code]

just what I was thinking, except I'd have used for(var i in f) 🙂


 
Posted : 22/01/2009 3:52 pm