<script>
function window_close(){
if (navigator.userAgent.indexOf("Firefox") != -1 || navigator.userAgent.indexOf("Chrome") !=-1) {
window.location.href="http://localhost/fastflow/winform/cn/myprocessform.aspx";
window.close();
} else {
window.opener = null;
window.open("", "_self");
window.close();
}
}
</script>
js中关闭窗口,适用于各种浏览器
猜你喜欢
转载自blog.csdn.net/u011429663/article/details/86475886
今日推荐
周排行