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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending variable arugment to 2nd asp page.

Status
Not open for further replies.

dekesc

Programmer
Mar 29, 2012
15
US
I want to pass a variable from one asp to another which then checks the value of the passed variable. The variable is a radio button which when clicked sets the value as 1, 2, 3 or 4.

Here is the line that does the send:
CareEntriesView.asp?View=all&entryType=&listingfunctions

"listingfunctions" should contain a "1" or "2" or "3" or "4".

In the 2nd asp I do a entryTypeValue = Request.QueryString("listingfunctions"), but when I Response.Write that variable, it is empty. I do Dim entryTypeValue.

What am I doing wrong?

Thanks.
 
Use javascript to append the key and value to the onclick attribute string when the radio button is clicked.

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top