in my web page, I am opening a popup window and generate the HTML for the popup using JavaScript/jQuery:
var site="<html> ............. </html>";
var popupWindow = window.open("","","menubar=0,scrollbars=0");
popupWindow.document.write(site);
The problem is, that the popup window shows "reading" in the status bar. What should I use instead of document.write()?
EDIT:
document.close();
should do the work, thanks. Unfortunately, my framework may be interfering, so it's not working for me in FF. IE works.