thendal
Programmer
- Aug 23, 2000
- 284
Hi Guys!
Iam generating some radio buttons dynamically .
How to know how many radio buttons are there in the form.
for example i got 9 radio buttons (ie i know the total number).then i can go for the below code
(var i=0;i<9;i++)
{
if((document.form.r1.checked == true))
{
alert("something"
}
}
if i don't know the total numbers how to find the total numbers
help me guys....
[sig][/sig]
Iam generating some radio buttons dynamically .
How to know how many radio buttons are there in the form.
for example i got 9 radio buttons (ie i know the total number).then i can go for the below code
(var i=0;i<9;i++)
{
if((document.form.r1.checked == true))
{
alert("something"
}
}
if i don't know the total numbers how to find the total numbers
help me guys....
[sig][/sig]