Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

IE11 does not display response in pop-up screen

$
0
0

hi all,

Below is script to display the response on pop-up screen and to close the parent window. It is working well in IE 8, 9, 10. But in IE11, it is not stable. Some my customer's computers always pop-up only one blank page, some others pop-up one blank page then display response in new Tab. I have been stuck on this one for a few weeks, Any help is very appreciated, thanks in advance.

<html><header><script language="JavaScript">
      function submitForm() {
        var d = document.forms[0];
        var t = "myWin";
        var etc = "channelmode=0,dependent=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=1,scrollbars=1,status=1,toolbar=0" + ",scrollbars=no,left = 0 , top = 0 , height=" + screen.availHeight + " , width=" + screen.availWidth ;

        var newWin = window.open("", t, etc);
        if(newWin) {
          newWin.focus();
          d.target = t;
          d.method = "post";
          d.action = "servletLogin";
          d.submit();

          parWin = window.open("", "_parent", "");
          parWin.close();
        }
      }</script></header><body><form name="frmLogin"><input type="text" name="txtUsrId" /><input type="password" name="txtPwd" /><input type="button" onclick="submitForm()" /></form></body></html>



Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>