I have sort of a problem, i want to check all the check boxes on a page but with a POST array. So for example the name of the check box would be:
name="files[]"
So i would want this to work with an array using this simple code:
Code:
<!-- Begin
function checkAll(field)
{
for (i = 0; i < field.length; i++)
field[i].checked = true ;
}
function uncheckAll(field)
{
for (i = 0; i < field.length; i++)
field[i].checked = false ;
}
// End -->
__________________
Go Kirby! <(" . "<) (^" . "^) (>" . ")> Talkupation!
|