L
laredotornado
Hello,
I am searching for a cross-browser way (the most recent browsers
are fine) to use javascript to open a new window even though I do not
know the file I want to call. I do, however, know the HTML code I want
output in the new window. It would look like
<HTML>
<HEAD><TITLE>Hello</TITLE>
</HEAD>
<BODY>
Hello
</BODY>
</HTML>
I understand I could put this text into a file and call that, but if
there were a way to automatically populate the window with this code,
prior to opening it, that would be the ideal.
Thanks, - Dave
I am searching for a cross-browser way (the most recent browsers
are fine) to use javascript to open a new window even though I do not
know the file I want to call. I do, however, know the HTML code I want
output in the new window. It would look like
<HTML>
<HEAD><TITLE>Hello</TITLE>
</HEAD>
<BODY>
Hello
</BODY>
</HTML>
I understand I could put this text into a file and call that, but if
there were a way to automatically populate the window with this code,
prior to opening it, that would be the ideal.
Thanks, - Dave