Home Forums Chat Forum Internet Explorer Question

Viewing 16 posts - 1 through 16 (of 16 total)
  • Internet Explorer Question
  • brakes
    Free Member

    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? ❓

    Biffer
    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 🙂

    brakes
    Free Member

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

    aracer
    Free Member

    AutoIt could probably help.

    brakes
    Free Member

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

    aracer
    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).

    aracer
    Free Member

    but can’t be writing any script

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

    brakes
    Free Member

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

    aracer
    Free Member

    Have fun then. 😕

    brakes
    Free Member

    surely Firefox has a miracle solution?

    woody2000
    Full Member
    richtea
    Free Member

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

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

    brakes
    Free Member

    what will happen if I do?

    brakes
    Free Member

    richtea, thanks you’re a legend – worked perfectly 😀

    richtea
    Free Member

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

    simonfbarnes
    Free Member

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

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

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘Internet Explorer Question’ is closed to new replies.