|
Posted by Michael Fesser on 11/13/06 13:55
..oO(Amer Neely)
>:) Sorry, I'm new with PHP so everything is literal. But as I mentioned,
>if I check all the boxes with JS, and submit the form, it throws that
>error. I'm going to do some reading and see what I can come up with.
There's an error in your script. Try this one (tested, works here):
function CheckAll(value) {
for (i=0; i<document.forms[0].length; i++) {
if (document.forms[0].elements[i].name == 'DeleteThis[]') {
document.forms[0].elements[i].checked=value;
}
}
}
Micha
Navigation:
[Reply to this message]
|