Re: jscript calling asp querystring by McKirahan
McKirahan
Fri Dec 30 08:20:46 CST 2005
<s_neetha2906@yahoo.com> wrote in message
news:1135917938.933032.135260@g44g2000cwa.googlegroups.com...
>
>
> i have a jscript function
> as
> function new{
>
> link="page1.asp"
> sample=window.open(link,...)
> }
>
>
> <vbscript>
> s= request.querystring("user")
>
> how can i pass this variable to
> "page1.asp"
> when i pass this variable it says "s" is undefined
>
What is "jscript calling"?
Don't use "new" as a function name -- it's a reserved word!
Try:
link="page1.asp?" + user
presuming "user" is available as a JS variable.
Or are you trying to use "request.querystring" on the client-side?
Your code is not clear on which page has what.