nitekchris
02-02-2005, 05:22 PM
Hello,
I am hoping some one can assist me with an issue I can not figure out. I am running two SQL queries on a page. 1 finds a user name, then you are given two radio buttons to choose from. Once you click on one of the radio buttons you are presented with a drop down that is populated from the second query. I need to be able to click on one of the drop down items and get the value to populate into a form. For the life of me I have not been able to get it to work.
Here is the code that I have for the drop down that gets populated:
<SELECT name="DIOdd" ID="DIOdd" action="document.FrmMain1.submit();">
<OPTION value=""><Please Select Building></OPTION>
<% do until (o_DIO.EOF) %>
<OPTION value="<%=trim(o_DIO("DIOdn")) %>"><%=trim(o_DIO("DIOdn")) %>
</OPTION>
<% o_DIO.MoveNext()
loop %>
</SELECT>
How can I get the value of the item that is picked.
Thank you for your help in advance.
CJ
I am hoping some one can assist me with an issue I can not figure out. I am running two SQL queries on a page. 1 finds a user name, then you are given two radio buttons to choose from. Once you click on one of the radio buttons you are presented with a drop down that is populated from the second query. I need to be able to click on one of the drop down items and get the value to populate into a form. For the life of me I have not been able to get it to work.
Here is the code that I have for the drop down that gets populated:
<SELECT name="DIOdd" ID="DIOdd" action="document.FrmMain1.submit();">
<OPTION value=""><Please Select Building></OPTION>
<% do until (o_DIO.EOF) %>
<OPTION value="<%=trim(o_DIO("DIOdn")) %>"><%=trim(o_DIO("DIOdn")) %>
</OPTION>
<% o_DIO.MoveNext()
loop %>
</SELECT>
How can I get the value of the item that is picked.
Thank you for your help in advance.
CJ