1. window.open('url');
2. window.location.assign('url');//在本页面窗口跳转
window.location.replace('url');
3. <!--定时转到其他页面 -->
<meta http-equiv="refresh" content="5;url=index.html">
4. a标签直接跳转
<a href="http://baidu.com">百度一下</a>
5. 通过javascript中实现跳转
window.location.href='index.html';
6. js返回上一页
window.history.go(-1);或者window.history.back(-1);
页面间数据交互:
1. window.open('url');//不能跨域?
2. 运用cookie