Need quick programming help bad!!!

livinitup0

Registered Member
Joined
Jul 24, 2009
Messages
79
Reaction score
12
I have a web page that has about thousands of individual names on it. On the left of each name is a HTML check box. All the boxes are checked by default and I need to uncheck them all.

I can do tab and space over and over, but its still going to take forever...

isnt there some simple notepad script I can write that will do this action for me? I just need something that will automatically perform the SPACE and then TAB key over and over again...

Any help would be super appreciated.
 
You can use a text editor with regexp search and replace.
 
I found a small script called "toggle 'em all" that I could just add as a bookmaked site that does exactly what I needed with the checkboxes.
If anyone ever needs something like this just g00gle "Toggle 'em all"
 
Shoot it between head tags
Code:
	<script type="text/javascript">
function checkByParent(aId, aChecked) {
    var collection = document.getElementById(aId).getElementsByTagName('input');
    for (var x=0; x<collection.length; x++) {
        if (collection[x].type.toLowerCase()=='checkbox')
            collection[x].checked = aChecked;
    }
}
checkByParent('YOUR DIVS ID', true);
</script>
And generate some buttons
Code:
<input type="button" value="check all" onclick="checkByParent('YOUR DIVS ID HERE', true);" />
<input  type="button" value="uncheck all" onclick="checkByParent('YOUR DIVS ID HERE', false);" />
 
Back
Top