I have an asp page (page1.asp) with couple of controls and a select box. When the user selects an item from a select box, javascript is called that makes a DIV visible that contains an include to the asp page that corresponds to the item selected from the select box (p1.asp through p16.asp).
When the page is submitted to page2.asp, on page2.asp I use Server.Execute to display another asp page within page2.asp, again, depending on the item selects from a select box (p1_preview.asp through p16_preview.asp):
Server.Execute(Trim(Reques
t.Form("se
lect1")) & "_preview.asp")
Everything works fine, except for another select box that is on page p1.asp (one of the include pages). The values of a selct box are "Same" and "Other", and when I select Other, on p1_preview.asp I use Respose.write Request.Form("select2") I get "Same Other" written to a page instead of "Other" or "Same".
Why do I get both written to a page and not the one that is selected? Can anyone help?
Start Free Trial