Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem Scrolling Records

Status
Not open for further replies.

DrSeussFreak

Programmer
Feb 16, 2007
149
US
I have an ASP page that after selecting data from either 1, 2 or 3 drop-downs auto refreshes. It works fine. When I try to scroll through the records though, it does not keep the variables that I passed.

Code:
<select name="slProducts" size="1" onChange="document.forms['frmSelect'].action = 'ViewProductInfo.asp'; submit();">

That is an example of 1 of the selects for the drop downs. I want to pass the variable that is selected in the string. Example below

Code:
<select name="slProducts" size="1" onChange="document.forms['frmSelect'].action = 'ViewProductInfo.asp?prod=VALUE'; submit();">
 
>it does not keep the variables that I passed.
In the refreshed page, the option being selected should have the attributed selected. That part is taken care by the server-side script.
[tt] <option value="last_selected_value" [blue]selected="selected"[/blue]>last_selected_text</option>[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top