[Javascript] Javascript - radio buttons error

Iztok Polanic iztok.polanic at amis.net
Sat Mar 26 05:34:31 CST 2005


Hi!

Why don't you use loop with an counter to count number of radio buttons 
on a page? This will definetly work!

Bye,

Iztok

Abyss wrote:
> a great guy from online gave me this code
> 
> document.getElementById('frmRange').Range.length
> 
> to get the amount of radio buttons on a form named range...
> 
> I am greatfull he did...
> 
> but for some reason it does not work if there is only 1 radio button on 
> the form...can anyone tell me why?
> 
> Abyss
> 
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript



More information about the Javascript mailing list