function openPostWindow(){  
      //url要跳转到的页面,data要传递的数据,name显示方式(可能任意命名)
      var boxWth = $("#boxWth").val();
      var shelfType = $("#shelfType").val();
      var url = "/KfXianShi.aspx";
      var name = "_blank";
      
      var tempForm = document.createElement("form");  
      tempForm.id="tempForm1";  
      tempForm.method="post";  
      tempForm.action=url;  
      tempForm.target=name; 
      var hideInput = document.createElement("input");  
      hideInput.type="hidden";  
      hideInput.name= "boxWth"
      hideInput.value= boxWth;
      tempForm.appendChild(hideInput);
      var hideInput2 = document.createElement("input");  
      hideInput2.type="hidden";  
      hideInput2.name= "shelfType"
      hideInput2.value= shelfType;
      tempForm.appendChild(hideInput2);
//      if (tempForm.attachEvent) {  // IE 
//            tempForm.attachEvent("onsubmit",function(){ openWindow(name); });  //必须用name不能只用url,否则无法传值到新页面
//      } else if (tempForm.addEventListener) {  // DOM Level 2 standard  
//            tempForm.addEventListener("onsubmit",function(){ openWindow(name); });  
//      }  
      document.body.appendChild(tempForm); 
      if (document.createEvent) { // DOM Level 2 standard  
           evt = document.createEvent("MouseEvents");  
           evt.initMouseEvent("submit", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);  
           tempForm.dispatchEvent(evt);  
      } else if (tempForm.fireEvent) { // IE  
           tempForm.fireEvent('onsubmit');  
      }
      tempForm.submit();
      document.body.removeChild(tempForm);
    }
//    function openWindow(name) {
//      var iWidth = window.screen.height;                                  //弹出窗口的宽度;
//      var iHeight = window.screen.width;                                  //弹出窗口的高度;
//      window.open('about:blank',name,'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width='+iWidth+',height='+iHeight);
//    }
我用的浏览器是ie8  ,我想post提交跳转窗口, 如果把注释的解开,就出现一个空白页,一个跳转页,经测试发现,不管客户那边的电脑还是我们这边的电脑都是这样,如果注释了,却又不会设置全屏弹出窗口,请问大神们,该咋解决??