<html><div style='background-color:'><DIV>
<P>While your radio buttons would have the same name, each should have a different value. Why not just pass your filter id as the value of each radio?</P>
<DIV>Cutter</DIV></DIV>
<DIV><A href="http://www.falcon-knives.com/">Falcon Knives</A></DIV>
<DIV></DIV>
<P>
<P></P>----Original Message Follows---- <BR>From: "Bill Marriott" <BILL.MARRIOTT@OPTUSNET.COM.AU><BR>Reply-To: javascript@LaTech.edu <BR>To: <JAVASCRIPT@LATECH.EDU><BR>Subject: [Javascript] capturing the ID with radio buttons <BR>Date: Sun, 16 Sep 2001 17:56:44 +1000 <BR><BR>Hi Everyone, <BR><BR>I have a project that needs to capture the current ID (filter value) of the <BR>record that the user selects using Radio Buttons and store it in a variable. <BR>The records are presented in a table form like. <BR><BR><TR><BR><TD width="5%"><INPUT type=radio value=V name=RB></TD> <BR><TD width="45%">Murray Valley East </TD><BR><TD width="30%">MVE</TD> <BR><TD width="15%">NSW</TD> <BR><TD class=invisible id=filter width="5%">7</TD> <BR></TR><BR><TR><BR><TD width="5%"><INPUT type=radio value=V name=RB></TD> <BR><TD width="45%">Murray Valley West </TD><BR><TD width="30%">MVW</TD> <BR><TD width="15%">NSW</TD> <BR><TD class=invisible id=filter width="5%">8</TD> <BR></TR><BR><BR>I don't know how many rows are going to be presented in the table because <BR>they are generated on the fly in an Informix tag. <BR>The form 
<FORM name=radioForm>is wrapped around all the rows. <BR>Can anyone tell me how I might be able to check if a record has been <BR>selected and how to capture the selected filter value from the table? <BR><BR>Thanks in advance <BR><BR>Bill <BR><BR><BR><BR>_______________________________________________ <BR>Javascript mailing list <BR>Javascript@LaTech.edu <BR>http://www.LaTech.edu/mailman/listinfo/javascript <BR></FORM></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>