Results 1 to 2 of 2
Thread: asp related question
2001-09-16, 01:33 #1
- Join Date
- Jun 2001
- Thanked 0 Times in 0 Posts
asp related question
i'd like to know that i'm approaching my new asp site correctly. it will contain book review information.
main menu will have a combo box A-Z.
-user will select a letter from comboBox & press a goButton.
-store comboBox value in a tempVar (a session variable perhaps?)
-onClickEvent of button will open reviews.asp
-reviews.asp should display results based upon the tempVar, so if a user chose 'D' then pressing goButton will open reviews.asp with only titles starting with 'D'
am i on the line here?
my problem is not knowing how to capture the combo box control value and apply it so that reviews.asp will show the correct results.
i'm also not sure on how or where to store that control value. i'm assuming a session variable is to be used here.
2001-09-16, 02:28 #2
- Join Date
- Feb 2001
- Silicon Valley, USA
- Thanked 94 Times in 90 Posts
Re: asp related question
Use an HTML form and a regular submit button with the action URL=your ASP page and method=POST.
Let's suppose your combo box field looks something like this:
<SELECT name="LETTER" size="1">
In your ASP page, you access this field as follows:
varMyVar = Request("LETTER")