html页面跳转方法

1. window.open('url');

2. window.location.assign('url');//在本页面窗口跳转

    window.location.replace('url');

3.   

   

4. a标签直接跳转

百度一下  

5. 通过javascript中实现跳转

window.location.href='index.html';  

6. js返回上一页
window.history.go(-1);或者window.history.back(-1)

页面间数据交互:

1. window.open('url');//不能跨域?

2. 运用cookie

你可能感兴趣的:(前端点)