View Full Version : showModelessDialog - document.write?
Hi all!
Is it possible to open a window in IE and write code from a variable in?
comparable to window.open(...).document.write(...)
(The Error message says that I hav no access to the window)
thx!
piz
RadarBob
08-14-2002, 11:11 PM
Is it possible to open a window in IE and write code from a variable in?
In what? From where?
I tried this:
window.showModelessDialog("","win","...options...").document.write("...text...");
and this:
win = window.showModelessDialog("","win","...options...")
parent.win.document.write("...text...");
None works. It appears the error daying I have no roghts to access this Object (Window).
Thx.
piz
adios
08-15-2002, 02:37 AM
var text = 'this is some text...';
win = window.showModelessDialog('javascript:"'+text+'"','win');
http://home.att.net/~wshvbs/ShowModelessDialogPage.htm
http://www.webreference.com/js/tutorial1/dialog.html
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.