Hi,
This is probably a very easy question...but I just don't know the answer...
I want to shorten this script:
document.formul ier.form_o_stoe l1.checked = false;
document.formul ier.form_o_stoe l2.checked = false;
document.formul ier.form_o_stoe l3.checked = false;
document.formul ier.form_o_stoe l4.checked = false;
document.formul ier.form_o_stoe l5.checked = false;
document.formul ier.form_o_stoe l6.checked = false;
document.formul ier.form_o_stoe l7.checked = false;
document.formul ier.form_o_stoe l8.checked = false;
document.formul ier.form_o_stoe l9.checked = false;
document.formul ier.form_o_stoe l10.checked = false;
I think it should be possible with something like
for (i=0; i<10; i++) {
document.formul ier.form_o_stoe l&[i].checked = false;
}
Please take a minute to help me with this...
Thanks!
This is probably a very easy question...but I just don't know the answer...
I want to shorten this script:
document.formul ier.form_o_stoe l1.checked = false;
document.formul ier.form_o_stoe l2.checked = false;
document.formul ier.form_o_stoe l3.checked = false;
document.formul ier.form_o_stoe l4.checked = false;
document.formul ier.form_o_stoe l5.checked = false;
document.formul ier.form_o_stoe l6.checked = false;
document.formul ier.form_o_stoe l7.checked = false;
document.formul ier.form_o_stoe l8.checked = false;
document.formul ier.form_o_stoe l9.checked = false;
document.formul ier.form_o_stoe l10.checked = false;
I think it should be possible with something like
for (i=0; i<10; i++) {
document.formul ier.form_o_stoe l&[i].checked = false;
}
Please take a minute to help me with this...
Thanks!
Comment