onClick= “location.href=‘test.html’” //在本页面大开新网页
self.location.href;//当前页面打开URL页面
window.location.href;//当前页面打开URL页面
this.location.href;//当前页面打开URL页面
location.href;// 当前页面打开URL页面
parent.location.href;//在父页面打开新页面
top.location.href;//在顶层页面打开新页面
HTML页面跳转
最新推荐文章于 2024-05-09 10:12:04 发布