Hi,
I have a form with checkboxes.
if i do a alert(form.testid.length), it will echo me the number of
chexkboxes
But if there is only a single checkbox, i wouldnt be able to retrieve the
length of the chkbox
for(i=0; i<form.testid.length; i++)
{
if (form.testid[i].checked==true)
{
c = 1;
}
}
pls advise, Thanks
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com