sorinc
09-24-2003, 09:14 AM
Hello!
I have a group of checkboxes named "options", like this:
<INPUT type="checkbox" name="options" value=a />
<INPUT type="checkbox" name="options" value=b />
<INPUT type="checkbox" name="options" value=c />
<INPUT type="checkbox" name="options" value=d />
within a form named frm.
I want to verify if one or more of the checkboxes were checked in a function. I tried with:
document.frm.options.checked but it doesn't work.
How can i solve that?
Thanks
I have a group of checkboxes named "options", like this:
<INPUT type="checkbox" name="options" value=a />
<INPUT type="checkbox" name="options" value=b />
<INPUT type="checkbox" name="options" value=c />
<INPUT type="checkbox" name="options" value=d />
within a form named frm.
I want to verify if one or more of the checkboxes were checked in a function. I tried with:
document.frm.options.checked but it doesn't work.
How can i solve that?
Thanks