Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
10-20-2006, 08:08 AM #1
- Join Date
- Nov 2005
- Thanked 0 Times in 0 Posts
how can i refer to dynamic creted of radio button?----urgent
i had created few ground of radio button. the number of ground was based on some data in database.
i had assign each group with different name.
for example, group one as radio_btn_1, group two as radio_btn_2 n .......
how can i access to all radio button???
i try using getElementById(radio_btn_1).length....if show out value "undefined"..
i try access with getElementById(form_name).radio_name.length. it aslo cant show out the length of radio button.... i had assign "radio_name = 'radio_btn_1'".......
how can i access to each radio button?????
isnt got a way that can unchecked radio button in a group without noe which radio button in a group had be checked?
10-20-2006, 09:11 AM #2
- Join Date
- Apr 2003
- Bucharest, ROMANIA
- Thanked 379 Times in 375 Posts
...will return the collection (very much alike with an array) of all the radio buttons (the gruoup) with the name='radiongroupname'. To acces one, or all the elements in that collection you kave to circle with a loop whithin them.KOR