I have an existing page that dynamically creates data in a popup
window. I am trying to change it to use an iFrame. Is the following
code valid:
The iFrame is as follows
<iframe src="theframe.h tml" name="theframe" ></iframe>
"theframe.h tml" is an existing file initially with instructions.
In a script I do
thewindow=windo w.open("","thef rame");
thewindow.docum ent.open();
thewindow.docum ent.write("Some Requested Data");
thewindow.docum ent.close();
This is done multiple times depending on what the user requests each
time. Sometimes this works and sometimes it doesn't. I'm probably doing
someing very wrong but I don't know where to look for reference.
I'm not really opening a window so there must be another way to do it.
What is the best way to write to an iFrame or should I not even try?
--
Dennis M. Marks
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
window. I am trying to change it to use an iFrame. Is the following
code valid:
The iFrame is as follows
<iframe src="theframe.h tml" name="theframe" ></iframe>
"theframe.h tml" is an existing file initially with instructions.
In a script I do
thewindow=windo w.open("","thef rame");
thewindow.docum ent.open();
thewindow.docum ent.write("Some Requested Data");
thewindow.docum ent.close();
This is done multiple times depending on what the user requests each
time. Sometimes this works and sometimes it doesn't. I'm probably doing
someing very wrong but I don't know where to look for reference.
I'm not really opening a window so there must be another way to do it.
What is the best way to write to an iFrame or should I not even try?
--
Dennis M. Marks
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Comment