![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2EE
jruott
IT小纸妹
展开
-
JS window.open
关闭并刷新父页面 if(window.opener){ window.opener.location.reload(); }else{ window.dialogArguments.Refresh();} window.close(); 一. Window 对象 Window 对象是 JavaScript 层级中的顶层对象。 Window 对象代表一个浏览器窗口或一个框架。转载 2013-07-16 22:13:11 · 713 阅读 · 0 评论 -
HTML页面跳转的五种方式
下面列了五个例子来详细说明,这几个例子的主要功能是:在5秒后,自动跳转到同目录下的hello.html(根据自己需要自行修改)文件。 1) html的实现 1 head> 2 <!-- 以下方式只是刷新不跳转到其他页面 --> 3 meta h转载 2013-07-24 22:07:34 · 949 阅读 · 0 评论