Re: use a popup window to display data from an ASP page

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: MD Websunlimited (none_at_none.com)
Date: 03/02/04


Date: Tue, 2 Mar 2004 10:22:49 -0600

Hi Brian,

Do you need to control the window with the JavaScript? If not, just set a target of _blank in the hyperlink. If you do then, open
the window using an onclick event in the hyperlink. The window that is referenced will be the ASP B

<a href="javascript:window.open('myWin','myASP.asp?param1=value1')" >fp_rs(.....)</a>

-- 
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to add Meta Tags to your web pages NOW with Google Bot controls.
http://www.websunlimited.com/order/Product/MTM2002/mtm2002_help_dir.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible
"brian" <anonymous@discussions.microsoft.com> wrote in message news:576301c4006f$a9ef2b10$a401280a@phx.gbl...
> I have an ASP page (A) that displays data.  One of the
> columns is a hyperlink that when clicked opens up a new
> asp document (B).  The B document gets a parameter from
> page A and looks up a value in a database to display the
> results.  no problem.  but instead of opening a new asp
> page, I would like to open a popup window.  Does anyone
> have any suggestions.  I have found the javascript to open
> a popup window, but I don't know how to pass the value
> from page A to page B.

Quantcast