Client-Side Script - how to pass querystring value to new window

J

Jon

I need to open a new window from client-side JavaScript, and pass a
querystring parameter value to the new window. The page that opens in the
new window has code-behind logic that requires the value of the querstring
in order to know what to display.

I tried this in my client-side script and it doesn't work... specifically,
the new page opens in its own window, but the Querystring parameter is not
accessible to the code-behind logic of ShowTypes.aspx.

OpenWin = this.open("ShowTypes.aspx?TypeID=2", "_blank",
"toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes");

What can I do to get the functionality I need? Please note that I do *not*
want a modal dialog box here.

Thanks.
 
J

Jon

Nevermind.... it works just fine.... just a slight case of "brain fade" on m
part... (been coding *way* too long today...).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top