Menu
I have data in MySQL database which are displayed in my index.php page. For each line I have a check box, and also one checkbox at the end. I want all my checkboxes to be selected automatically by checking the one at the end. This works for the case when I am not reading from database, but just for specified checkboxes (in this case I do the following).
function checkAll(MyForm)
{
if (MyForm.everything.checked)
{
MyForm.aaa1.checked = true;
MyForm.aaa2.checked = true;
MyForm.aaa3.checked = true;
}
}