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: Sun, 16 Sep 2001 17:56:44 +1000
Hi Everyone,
I have a project that needs to capture the current ID (filter value) of the
record that the user selects using Radio Buttons and store it in a variable.
The records are presented in a table form like.
<tr>
<td width="5%"><input type="radio" value="V" name="RB" ></td>
<td width="45%">Murray Valley East </td>
<td width="30%">MVE</td>
<td width="15%">NSW</td>
<td width ="5%" CLASS="invisible" ID="filter" >7</td>
</tr>
<tr>
<td width="5%"><input type="radio" value="V" name="RB" ></td>
<td width="45%">Murray Valley West </td>
<td width="30%">MVW</td>
<td width="15%">NSW</td>
<td width ="5%" CLASS="invisible" ID="filter" >8</td>
</tr>
I don't know how many rows are going to be presented in the table because
they are generated on the fly in an Informix tag.
The form <form name="radioForm"> is wrapped around all the rows.
Can anyone tell me how I might be able to check if a record has been
selected and how to capture the selected filter value from the table?
Thanks in advance
Bill
- Follow-Ups:
- [Javascript] capturing the ID with radio buttons
- From: Rodney Myers
- [Javascript] capturing the ID with radio buttons
- References:
- [Javascript] window close without user intervention
- From: javascript@xxxxxxxxxx
- [Javascript] window close without user intervention
- From: Tom Mallard
- [Javascript] window close without user intervention
- Prev by Date: [Javascript] Select box blur
- Next by Date: [Javascript] capturing the ID with radio buttons
- Previous by thread: [Javascript] window close without user intervention
- Next by thread: [Javascript] capturing the ID with radio buttons
- Index(es):