Issue using window.open in Mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sarath chandran
    New Member
    • Nov 2007
    • 6

    Issue using window.open in Mozilla

    Hi all,
    I am facing an issue when I try to invoke an html from my servlet in Mozilla browser .It works fine with IE

    Code:
    out.println("window.open(\"../login/html/AdminLogin.html\",loginType,style)");
    out.println("document.forms[\"form1\"].Lang_Code.value = loginType[2];");
    out.println("document.forms[\"form1\"].AgentsTimeDiff.value = '"+timeDiff+"'");
    This open the source code of the HTML file in the browser .
    But the Html file is not displayed instead the source code of the html file is displayed
    Last edited by gits; Dec 21 '07, 03:47 PM. Reason: fix code tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Check the settings in the browser and for the page, e.g. check the character encoding.

    Comment

    Working...