为什么window.Close()不工作在Firefox? [英] Why is window.Close() not working in Firefox?
本文介绍了为什么window.Close()不工作在Firefox?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
window.Close()
在Firefox中不起作用,有没有解决方法? 什么是中的参数window.Close()
?
解决方案
Firefox不能关闭不是由JavaScript打开的窗口(弹出窗口)。 window.close()将无法正常工作。
Why javascript: window.Close()
is not working in Firefox, Is there any solution?
What are the parameters in window.Close()
?
解决方案
In firefox you can't close a window that is not opened by javascript(pop-up). window.close() will not work.
这篇关于为什么window.Close()不工作在Firefox?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文