Problem with group radio buttons!!

Hi,<br />
Try to help me out !!<br />
I have html page with 3 group radio buttons in a line .<br />
According to my use i am displaying above line in loop for 400 times keeping the radio buttons with same name.<br />
In this page the user able to select only one radio button from group of 400 times. <br />
My problem is , how to set group for each line, so that can select radio button a from group in each line .<br />
How to do that?<br />
And if i post this form to another page, how can i refer 400 group radio buttons !!<br />
I think refering 400 radio buttons with 400 different group names will be difficult !! can any one tell how to post & how retrive in other page ..If am using at server technology !!<br />
<br />
<br />
Thanks,<br />
Sun<!--content-->You must give the 400 different loops a different name:<br />
<br />
<br />
for (var i=0;i<400;i++){<br />
document.write("A: <input type='radio' name='grp"+i+"' value='a'>");<br />
document.write("B: <input type='radio' name='grp"+i+"' value='b'>");<br />
document.write("C: <input type='radio' name='grp"+i+"' value='c'>");<br />
}<br />
<br />
<br />
In above example 'i' the counter identifier will increase with each loop and each row of 3 buttons will get a unique name.<br />
<br />
example:<br />
first loop:<br />
A: <input type='radio' name='grp1' value='a'><br />
B: <input type='radio' name='grp1' value='b'><br />
C: <input type='radio' name='grp1' value='c'><br />
<br />
second loop:<br />
A: <input type='radio' name='grp2' value='a'><br />
B: <input type='radio' name='grp2' value='b'><br />
C: <input type='radio' name='grp2' value='c'><br />
<br />
third loop:<br />
A: <input type='radio' name='grp3' value='a'><br />
B: <input type='radio' name='grp3' value='b'><br />
C: <input type='radio' name='grp3' value='c'><br />
<br />
etc<!--content-->
 
Back
Top