dcsimg
A Very Basic question - Launch new window with on the fly content, not a HTML FILE.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sakibul_Khan
Posted On:   Thursday, March 20, 2003 02:05 PM

Hi,



I want to launch a new window, BUT the contents of the new window IS NOT an HTML file or CGI script. It is rather, just "document.write" statments executed by the parent window.



Hence, my question is: what do I need to modify in place of "XXXXXXXXX" in the following statement:-



window.open(XXXXXXXXX,"objectname","height=400,width=720,...")



--------------------------SAKIB

Re: A Very Basic question - Launch new window with on the fly content, not a HTML FILE.

Posted By:   Joe_Millionaire  
Posted On:   Thursday, March 20, 2003 02:20 PM

var handle = window.open("about:blank", ...);




-or-




var handle = window.open("", ...);




then




handle.document.open();




handle.document.write(...);




handle.document.close();



About | Sitemap | Contact