I have the following code on my page:
Agent number: <%=AGENT%> </b></u> Select an agent:
<select name="AGENT" onchange="OnAgentChange()">
<option value="(none)">
<%AgentsNum.MoveFirst
do while Not AgentsNum.EOF%>
<option value="<%=AgentsNum.Fields(0)%>"><%=AgentsNum.Fields(0)%>
<%AgentsNum.MoveNext
loop%>
AND ALSO
<form method="get" name="MapForm">
<input type="hidden" name="AGENT" value="<%=Request("AGENT"%>">
When my page refreshes as a result of a certain function, I would like to retain the AGENT value selected from the combo box. I suspect it becomes "(none)" because of the <option value="(none)">
How do I do this? Many thanks in advance to all the responders!
Agent number: <%=AGENT%> </b></u> Select an agent:
<select name="AGENT" onchange="OnAgentChange()">
<option value="(none)">
<%AgentsNum.MoveFirst
do while Not AgentsNum.EOF%>
<option value="<%=AgentsNum.Fields(0)%>"><%=AgentsNum.Fields(0)%>
<%AgentsNum.MoveNext
loop%>
AND ALSO
<form method="get" name="MapForm">
<input type="hidden" name="AGENT" value="<%=Request("AGENT"%>">
When my page refreshes as a result of a certain function, I would like to retain the AGENT value selected from the combo box. I suspect it becomes "(none)" because of the <option value="(none)">
How do I do this? Many thanks in advance to all the responders!