Opening new windows from ASP
-
I have a legacy site that opens a simple page that showing data for a client. On occasion, a query might return multiple clients. I can intercept this in the VBScript in the page before the page draws itself. I would like to then open a new page for each one of the clients. I can't use the Response.Redirect method as that only opens one page. I can't use something like window.open as it tells me that an object is required. Is there a way to open a new window programatically from VBScript? Thx Mark Jackson
-
I have a legacy site that opens a simple page that showing data for a client. On occasion, a query might return multiple clients. I can intercept this in the VBScript in the page before the page draws itself. I would like to then open a new page for each one of the clients. I can't use the Response.Redirect method as that only opens one page. I can't use something like window.open as it tells me that an object is required. Is there a way to open a new window programatically from VBScript? Thx Mark Jackson
I think that following code will be useful for you although I did not get your problem completely. In VBScript write following code when you want to open new window: Response.Write("window.open('page.asp')"); Regards, Ketan.
-
I think that following code will be useful for you although I did not get your problem completely. In VBScript write following code when you want to open new window: Response.Write("window.open('page.asp')"); Regards, Ketan.
That worked perfectly, thanks for the help. Mark Jackson Ketan Majumdar wrote: Response.Write("window.open('page.asp')");