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

put jscript var in a querystring

Status
Not open for further replies.

tonny

Programmer
Jan 11, 2000
7
NL
can anyone tell me how to put a javascript variable in a asp querystring.

name.asp?varname=javascriptvar

thanks in advance

Tonny Wijnand
 
tonny,

var firstName = "Joe";
var lastName = "Smackitelly";
var sUrl = "name.asp?fname=" + firstName + "&lname=" + lastName;

Hope this helps
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top