I have a situation where I have a list of items with radio buttons attached
to each row of data. I would like to select a specific radio button attached
to a specific row of data and pass data elements contained in that row to
the next page.
Here is the html code for the initial screen. At the bottom there is a
submit button to display the News for that stock symbol that has been
selected (There is a radio button attached to each stock symbol). I would
like to know what is the most effecient way to determine which radio button
has been selected and pass the appropriate symbol and market to the News cgi
program so that it displays the news for the selected item.  Currently, if I
select the first radio button item, the NEws function works. But selecting
the second item (EDS) does not. Instead it just bring up the news for the
first item. Any suggestions? Thanks
----------------------------------------------------------------------------
--------------
<form name="StockResults" method="GET">
<input type=hidden value=2 name=quoteCount>
<input type=hidden value=T name=market0>
<input type=hidden value=CM name=symbol0>
<input type=hidden value=T:CM|N:EDS| name=Quote>
<input type=hidden value="CM|T" name=symbolString>
<center>
  <table border="1" cellpadding="0" cellspacing="0" bordercolor="#808080"
width=100%>
  <tr><td>
    <table border=0 cellpadding=3 cellspacing=1 width=100%>
       <tr bgcolor=#F7DBA5>
            <td>&nbsp;</td>
            <td align="center"><font
color="#910230"><strong>Symbol</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Description</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Market</strong></font></td>
            <td align="center"><font color="#910230"><strong>Last
Trade</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Change</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Volume</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Open</strong></font></td>
            <td align="center"><font
color="#910230"><strong>High</strong></font></td>
            <td align="center"><font
color="#910230"><strong>Low</strong></font></td>
        </tr>

        <tr bgcolor=#FFF0DC>
              <td><input type="radio" name=symbolString value="CM|T">
              <td align=center>CM</td>
              <td align=center NOWRAP>CDN IMPER BANK</td>
              <td align=center NOWRAP>Toronto</td>
              <td align=center NOWRAP>$55.00</td>
              <td align=right NOWRAP>- 0.06&nbsp;<img
src="../Images/Down.gif" border=0></td>
              <td align=center NOWRAP>114,686</td>
              <td align=center NOWRAP>$55.00</td>
              <td align=center NOWRAP>$55.14</td>
              <td align=center NOWRAP>$54.90</td>
        </tr>

        <tr bgcolor=#F7DBA5>
              <td><input type="radio" name=symbolString value="EDS|N">
              <td align=center>EDS</td>
              <td align=center NOWRAP>ELECTR DATA</td>
              <td align=center NOWRAP>New York</td>
              <td align=center NOWRAP>$67.90</td>
              <td align=right NOWRAP>+ 0.30&nbsp;<img src="../Images/Up.gif"
border=0></td>
              <td align=center NOWRAP>301,600</td>
              <td align=center NOWRAP>$68.00</td>
              <td align=center NOWRAP>$68.20</td>
              <td align=center NOWRAP>$67.74</td>
        </tr>

</table>
</tr></td></table>
</center>
<BR>
<p ALIGN=CENTER><EM>Information is delayed at least 20 minutes.</EM></P>
<p>Market data is supplied by  <img src="../Images/Reuters.gif"
align="center" border="0"width="164" height="41">
</p>
        <P><input type=submit name="News" value="News" onClick=" return
submitForm('NewsHeadlines.cgi')">
----------------------------------------------------------------------------
----------------------------------------------------------------------------
----------



                               Pemba Lama

                        * EDS / London Solution Centre
                              150 Dufferin Avenue, Suite 300
                                London, Ontario N6A 5N6

                        * [EMAIL PROTECTED]

                        * 519-645-7101
                  



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to