Hello, i have a .js script with this code:
document.write('<IFRAME HEIGHT="20" WIDTH="500" SCROLLING="NO" style="border-width:0" name="iframe" ID="iframe"></IFRAME>');
function start() {
window.frames.iframe.document.open();
window.frames.iframe.document.write('<HTML>');
window.frames.iframe.document.write('<SCRIPT LANGUAGE="Javascript" src="msglib.js" type="text/javascript"></SCRIPT>');
window.frames.iframe.document.write('<BODY topmargin="0" leftmargin="0">');
window.frames.iframe.document.write("<a href=\"javascript

revious()\">Previous</a> ");
getmsg();
window.frames.iframe.document.write(" <a href=\"javascript
:next()\">Next</a>");
window.frames.iframe.document.write('</BODY>');
window.frames.iframe.document.write('</HTML>');
window.frames.iframe.document.close();
}
and have a problem when I write this line:
window.frames.iframe.document.write('<SCRIPT LANGUAGE="Javascript" src="msglib.js" type="text/javascript"></SCRIPT>');
the script are loading without end (I use FireFox), can I change this line with another similar, or can anyone tell me what is wrong ?
Thank you