//在当前页面打开

location.href="http://www.google.cn/";

window.location.href="http://www.google.cn/";

//后退到前一页面

history.go(-1);

//在新页面打开

window.open('http://www.google.cn/','','height=500,width=611,scrollbars=yes,status=yes');

每天学习一点点!

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-05-30
  • 2022-02-08
  • 2021-09-29
  • 2021-10-15
  • 2021-12-15
  • 2021-09-21
相关资源
相似解决方案