M
montiy
OK, here's what I want to do...
(I'm using FrontPage 2003, and I have an ASP page that is fed by a database.)
I have a drop-down box that is populated by a "State" field. When I select
a state from the drop-down box and press "Submit", I want the listed state to
STAY in the drop-down box...rather than having it reset.
(In this case, the proper state is selected. It's just annoying that the
display has to be reset, so the user can't see what he/she actually selected.)
Can anyone give me some help in how to do this? My current code for the
drop-down box is below. Thanks for your help!
----------------
<select NAME="State" SIZE="1">
<!--webbot bot="AspInclude" clientside u-incfile="../_fpclass/fpdbrgn1.inc"
startspan -->
<!--#include file="../_fpclass/fpdbrgn1.inc"--><!--webbot bot="AspInclude"
endspan i-checksum="52766" -->
<option>
<%=FP_FieldHTML(fp_rs,"State")%>
</option>
<!--webbot bot="AspInclude" clientside u-incfile="../_fpclass/fpdbrgn2.inc"
startspan -->
<!--#include file="../_fpclass/fpdbrgn2.inc"--><!--webbot bot="AspInclude"
endspan i-checksum="52830" -->
</select>
(I'm using FrontPage 2003, and I have an ASP page that is fed by a database.)
I have a drop-down box that is populated by a "State" field. When I select
a state from the drop-down box and press "Submit", I want the listed state to
STAY in the drop-down box...rather than having it reset.
(In this case, the proper state is selected. It's just annoying that the
display has to be reset, so the user can't see what he/she actually selected.)
Can anyone give me some help in how to do this? My current code for the
drop-down box is below. Thanks for your help!
----------------
<select NAME="State" SIZE="1">
<!--webbot bot="AspInclude" clientside u-incfile="../_fpclass/fpdbrgn1.inc"
startspan -->
<!--#include file="../_fpclass/fpdbrgn1.inc"--><!--webbot bot="AspInclude"
endspan i-checksum="52766" -->
<option>
<%=FP_FieldHTML(fp_rs,"State")%>
</option>
<!--webbot bot="AspInclude" clientside u-incfile="../_fpclass/fpdbrgn2.inc"
startspan -->
<!--#include file="../_fpclass/fpdbrgn2.inc"--><!--webbot bot="AspInclude"
endspan i-checksum="52830" -->
</select>