Dear All,
I have the following script which should be executed to unchecked all checkboxes when user click the "Deselect All" button :-
for (count=0; count < 50; count++){
// e_arr is an array contain the suffix of the checkbox
// name
id = e_arr[count];
stat = "document.sub_mem.send_to"+id+".checked";
eval("stat" = false;
}
However, an error occurred in the eval("stat" = false statement. Any suggestion?
Thanks in advance
Joan
I have the following script which should be executed to unchecked all checkboxes when user click the "Deselect All" button :-
for (count=0; count < 50; count++){
// e_arr is an array contain the suffix of the checkbox
// name
id = e_arr[count];
stat = "document.sub_mem.send_to"+id+".checked";
eval("stat" = false;
}
However, an error occurred in the eval("stat" = false statement. Any suggestion?
Thanks in advance
Joan