首先实现从按下一个按钮跳转到另一个网页
1.不关闭本网页跳到新建一个网页的方式:
<button onclick="location.href='xxx.html' ">跳转到另一个html网页</button>
2.关闭当前网页并跳转到新的网页:
<button onclick="location.replace('xxx.html') ">跳到新的html</button>
时间:2021-12-08 02:38:05
1.不关闭本网页跳到新建一个网页的方式:
<button onclick="location.href='xxx.html' ">跳转到另一个html网页</button>
2.关闭当前网页并跳转到新的网页:
<button onclick="location.replace('xxx.html') ">跳到新的html</button>
js点击button按钮跳转到另一个新页面【javascript】
2020-03-10
PHP——0128练习相关2——js点击button按钮跳转到另一个新页面
2023-11-08
【Android】Button之实现点击按钮跳转到另一个界面
2021-08-25
如何看待分数-What Your Idea Is on Grades?1500字英语作文
2024-04-28