Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

BBS: Re: Writing into popups - July 20, 1998 at 07:31:24

You are here: irt.org | BBS | Re: Writing into popups [This BBS is closed]

Posted by Martin Webb on July 20, 1998 at 07:31:24:

In Reply to: Writing into popups posted by Ed Waddingham (again) on July 17, 1998 at 14:22:03:

: If I open a popup window via javascript, how could i use document.write ("blabla") to write stuff in the popup window?

Say you've done:

mywindow = window.open ('blank.htm','windowName');

then you should be able to do:

mywindow.document.write ('blahblah');

it might not appear atraight away as browsers sometimes require a line break before they'll render the output onto the screen so try another:

mywindow.document.write ('<BR>');

to force a line break.
Follow-ups:

You are here: irt.org | BBS | Re: Writing into popups [This BBS is closed]

©2018 Martin Webb