码迷,mamicode.com
首页 > Windows程序 > 详细

window.open打开新窗口报错ie 位指明错误,原因是window没有加引号!

时间:2017-05-03 10:00:17      阅读:193      评论:0      收藏:0      [点我收藏+]

标签:错误   val   opener   引号   cat   tmp   var   color   报错   

function JsMod(htmlurl,tmpWidth,tmpHeight){
htmlurl=getRandomUrl(htmlurl);
var newwin = window.open(htmlurl, "window", "height=" + tmpHeight + ",width=" + tmpWidth);
window.location.href = window.location.href;
}

function setSelectValue(cxxf02id,xmmc){
window.opener.document.getElementById("kch").value = cxxf02id;
window.opener.document.getElementById("kcmc").value = xmmc;
window.opener.fillOtherText();
window.close();

}

window.open打开新窗口报错ie 位指明错误,原因是window没有加引号!

标签:错误   val   opener   引号   cat   tmp   var   color   报错   

原文地址:http://www.cnblogs.com/itniwota/p/6800322.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!