how can I find the length of all radio button?
I have searched the net and found plenty of advice on how to find the length of a group of radio button in javascript but nothing on how to find the length of all the radio button.
In this case, it is useless to search by name because the names are unpredictable. Eventually, I can add the 'id="id"' tag with the same id for all radio button but is this necessary? Thank you for your help. |
What _is_ exactly the 'length' of a radio button??
You mean the length of it's name? |
javascript uses the word "length" to find the number of items that exist, I also find the practice confusing.
For example the javascript statement: var radio = radioObj.length the variable "radio" should tell how many "radio.Obj" there is. |
javascript uses the word "length" to find the number of items that exist, I also find the practice confusing.
For example the javascript statement: var radio = radioObj.length the variable "radio" should tell how many "radio.Obj" there is. |
All times are GMT -5. The time now is 02:44 PM. |