But the process is relatively complicated. When we only need a simple judgment method, we can do this:
<SCRIPT> <br>if (document.all){ //IE <br>window.dialogArguments.location.reload(); <br>}else{ //FIREFOX <br>opener.location.reload(); <br>} <br>window.close(); <br></SCRIPT>
document.all This attribute can be used under IE. It cannot be used under FF, so take advantage of this. You can execute corresponding programs for
different browsers.
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn