OpenWindow.document.write problem



i am facing a strange problem. please help me out with this.

the following code is working perfectly fine in Mozilla Firefox but in
Internet Explorer it is giving an error in the first
OpenWindow.document.write line itself.

function popup_msg_to_all_users() {
var str = "self.close();";
OpenWindow=window.open("hdfkhgkdfhgdfjkg", "newwin",
"height=260, width=360,toolbar=no,scrollbars="+scroll+",menubar=no");
OpenWindow.document.write("<TITLE>Send Message</
TITLE>")
OpenWindow.document.write("<script> function
submitAndClose() { if (!document.frm.title.value) { alert(\'Enter
Title.\'); return false; } else { document.frm.submit();
alert(\'Message Sent.\'); window.close(); }} <\/script>")
OpenWindow.document.write("<BODY bgcolor='#0066cc'>")
OpenWindow.document.write("<tr><td><font size='2'
face='verdana' color='white'><b>Type the message to send to all
syndicates</b></font></td></tr>")
OpenWindow.document.write("<br><textarea STYLE='font-
family: Verdana; font-size: 12px;' cols='50' rows='10' name='txt'>Type
Message Body Here.</textarea>")
OpenWindow.document.write("<input type='hidden'
value='GoSendMessageAllPopup' name='action'>")
OpenWindow.document.write("<input type='hidden' name
='syndicate_id' value='" + synd_id + "'>")
OpenWindow.document.write("<input type='button'
value='Send' name='btn' onClick='javascript: submitAndClose();'>")
OpenWindow.document.write("</form>")
OpenWindow.document.write("</BODY>")
OpenWindow.document.write("</HTML>")
self.name="main"
}



basically the window is opening up but nothing is displayed inside
it. my IE version is 6.0

thanks in advance
.



Relevant Pages

  • ie freez
    ... I am facing a strange problem when trying to access any web-site using ... internet explorer. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Internet Explorer blank pages
    ... Am facing a very strange problem with Internet Explorer 6.0 running under ... windows 2000 said to me that he has the same problem. ...
    (microsoft.public.win2000.windows_update)
  • RE: Internet Connection Problems and Internet Explorer problems
    ... I have had that same problem as well concerning the Internet Explorer ... browser...not to mention the fact I have Mozilla Firefox. ... > But the main problem for me is that my Internet Explorer Web Browser does ... > webpage is to be seen is blank, and the bottom of the window shows no loading ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Buy or build
    ... just highlight it to read it, ... In Internet Explorer, click on tools, internet options, general, ... Sheldon's logo ... In Mozilla Firefox, click on tools, options, content, and colors. ...
    (rec.bicycles.tech)
  • Very strange problem using FWRITE() to write data to a binary file
    ... I'm facing a very very strange problem with a very very simple C ... My goal should be to write to a binary file some numbers, ... If I execute this code (compile with Visual Studio 6) and then open the ...
    (comp.lang.c)