开发者

Why is window.Close() not working in Firefox?

开发者 https://www.devze.com 2023-04-06 10:21 出处:网络
Why javascript: window.Close() is not working in Firefox, Is there any solution? 开发者_Go百科What are the parameters in window.Close()?In firefox you can\'t close a window that is not opened by java

Why javascript: window.Close() is not working in Firefox, Is there any solution?

开发者_Go百科

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.


Probably because it is window.close() - with a lower-case c. JavaScript is a case-sensitive language, close and Close are not the same thing.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号