M
mlybarger
i have a popup window that's built from javascript with something like:
source += "<html>";
source += " <head>";
source += " </head>";
source += " <frameset rows='100,*'>";
source += " <frame id='controls' name='controls' />";
source += " <frame id='data' name='data' />";
source += " </frameset>";
source += "</html>";
i'd like to "push" some content into the frames in mozilla. in IE, we
use the following:
popupwindow.document.frames['data'].document.write(source);
but i get an error message that document doesn't exist. i use
mozilla's debugger and surely there's no document object on the frame
object. any ideas on how i can push content into these frames?
thanks!
~mark
source += "<html>";
source += " <head>";
source += " </head>";
source += " <frameset rows='100,*'>";
source += " <frame id='controls' name='controls' />";
source += " <frame id='data' name='data' />";
source += " </frameset>";
source += "</html>";
i'd like to "push" some content into the frames in mozilla. in IE, we
use the following:
popupwindow.document.frames['data'].document.write(source);
but i get an error message that document doesn't exist. i use
mozilla's debugger and surely there's no document object on the frame
object. any ideas on how i can push content into these frames?
thanks!
~mark