1) there is a loop right so every time same name onlt asigned to the input tag ..so if you want to take 2 nd value use ---------------------------------------------------
2) if you want to use getElementById then you have to set new name for every iteration ...because if you want to use getElementById then field name should uniqu other wise it will give first matching value ........
Thanks for your reply. The above mentioned case works well with checkboxes. Incase of using the radio buttons i would like to have a unique name to represent.
So how do i handle it in case of radio buttons. Any suggestions?