Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] capturing the ID with radio buttons
- From: javascript@xxxxxxxxxx (Bill Marriott)
- Subject: [Javascript] capturing the ID with radio buttons
- Date: Tue, 18 Sep 2001 05:58:02 +1000
This is a multi-part message in MIME format. ------=_NextPart_000_0045_01C14006.E07DB240 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cutter, that was the answer, thanks Bill ----- Original Message -----=20 From: Cutter Bl=20 To: javascript@xxxxxxxxxx=20 Sent: Monday, September 17, 2001 10:25 PM Subject: Re: [Javascript] capturing the ID with radio buttons 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? Cutter Falcon Knives ----Original Message Follows----=20 From: "Bill Marriott"=20 Reply-To: javascript@xxxxxxxxxx=20 To:=20 Subject: [Javascript] capturing the ID with radio buttons=20 Date: Sun, 16 Sep 2001 17:56:44 +1000=20 Hi Everyone,=20 I have a project that needs to capture the current ID (filter value) = of the=20 record that the user selects using Radio Buttons and store it in a = variable.=20 The records are presented in a table form like.=20 =20 Murray Valley East=20 MVE=20 NSW=20 7=20 =20 Murray Valley West=20 MVW=20 NSW=20 8=20 I don't know how many rows are going to be presented in the table = because=20 they are generated on the fly in an Informix tag.=20 The form=20 is wrapped around all the rows.=20 Can anyone tell me how I might be able to check if a record has been=20 selected and how to capture the selected filter value from the table?=20 Thanks in advance=20 Bill=20 _______________________________________________=20 Javascript mailing list=20 Javascript@xxxxxxxxxx=20 http://www.LaTech.edu/mailman/listinfo/javascript=20 -------------------------------------------------------------------------= ----- Get your FREE download of MSN Explorer at http://explorer.msn.com _______________________________________________ Javascript mailing = list Javascript@xxxxxxxxxx = http://www.LaTech.edu/mailman/listinfo/javascript ------=_NextPart_000_0045_01C14006.E07DB240 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Diso-8859-1" = http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Cutter,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>that was the answer, = thanks</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Bill</FONT></DIV> <BLOCKQUOTE=20 style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: = 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px"> <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV> <DIV=20 style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: = black"><B>From:</B>=20 <A href=3D"mailto:cutterbl@xxxxxxxxxxx" = title=3Dcutterbl@xxxxxxxxxxx>Cutter Bl</A>=20 </DIV> <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20 href=3D"mailto:javascript@xxxxxxxxxx"=20 title=3Djavascript@xxxxxxxxxx>javascript@xxxxxxxxxx</A> </DIV> <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, September 17, = 2001 10:25=20 PM</DIV> <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] = capturing the=20 ID with radio buttons</DIV> <DIV><BR></DIV> <DIV> <DIV> <P>While your radio buttons would have the same name, each should have = a=20 different value. Why not just pass your filter id as the value of each = radio?</P> <DIV>Cutter</DIV></DIV> <DIV><A href=3D"http://www.falcon-knives.com/">Falcon Knives</A></DIV> <DIV></DIV> <P> <P></P>----Original Message Follows---- <BR>From: "Bill Marriott"=20 <BILL.MARRIOTT@xxxxxxxxxxxxxxx><BR>Reply-To: <A=20 href=3D"mailto:javascript@xxxxxxxxxx">javascript@xxxxxxxxxx</A> = <BR>To:=20 <JAVASCRIPT@xxxxxxxxxx><BR>Subject: [Javascript] capturing the ID with = radio=20 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)=20 of the <BR>record that the user selects using Radio Buttons and store = it in a=20 variable. <BR>The records are presented in a table form like.=20 <BR><BR><TR><BR><TD width=3D"5%"><INPUT name=3DRB type=3Dradio = value=3DV></TD> <BR><TD=20 width=3D"45%">Murray Valley East </TD><BR><TD width=3D"30%">MVE</TD> = <BR><TD=20 width=3D"15%">NSW</TD> <BR><TD class=3Dinvisible id=3Dfilter = width=3D"5%">7</TD>=20 <BR></TR><BR><TR><BR><TD width=3D"5%"><INPUT name=3DRB type=3Dradio = value=3DV></TD>=20 <BR><TD width=3D"45%">Murray Valley West </TD><BR><TD = width=3D"30%">MVW</TD>=20 <BR><TD width=3D"15%">NSW</TD> <BR><TD class=3Dinvisible id=3Dfilter=20 width=3D"5%">8</TD> <BR></TR><BR><BR>I don't know how many rows are = going to be=20 presented in the table because <BR>they are generated on the fly in an = Informix tag. <BR>The form=20 <FORM name=3DradioForm>is wrapped around all the rows. <BR>Can anyone = tell me=20 how I might be able to check if a record has been <BR>selected and how = to=20 capture the selected filter value from the table? <BR><BR>Thanks in = advance=20 <BR><BR>Bill = <BR><BR><BR><BR>_______________________________________________=20 <BR>Javascript mailing list <BR>Javascript@xxxxxxxxxx=20 <BR>http://www.LaTech.edu/mailman/listinfo/javascript = <BR></FORM></DIV><BR=20 clear=3Dall> <HR> Get your FREE download of MSN Explorer at <A=20 = href=3D"http://go.msn.com/bql/hmtag_itl_EN.asp">http://explorer.msn.com</= A><BR>_______________________________________________=20 Javascript mailing list Javascript@xxxxxxxxxx=20 = http://www.LaTech.edu/mailman/listinfo/javascript</BLOCKQUOTE></BODY></HT= ML> ------=_NextPart_000_0045_01C14006.E07DB240--
- References:
- [Javascript] capturing the ID with radio buttons
- From: Cutter Bl
- [Javascript] capturing the ID with radio buttons
- Prev by Date: [Javascript] capturing the ID with radio buttons
- Next by Date: [Javascript] access form.element by name containing [ ]
- Previous by thread: [Javascript] capturing the ID with radio buttons
- Next by thread: [Javascript] access form.element by name containing [ ]
- Index(es):