Hi Olinux,
U may want 2 try this js-code:
function ToggleAllCheckboxes()
{
for( var x = 0; x document.MYFORM.elements.length; x++ )
{
var y = document.MYFORM.elements[x];
if( y.name != 'CHECKALL') y.checked = document.MYFORM.CHECKALL.checked;
}
}
As U C, U have 2 setup a
don't your checkboxes act like radio buttons when you check them if they all
have the same name?
i would do something like
form name=mail_boxes action= method=
?php
// How ever many checkboxes you want
$number_of_checkboxes = 5;
for ( $this_check = 0; $this_check $number_of_checkboxes;