首先实现从按下一个按钮跳转到另一个网页
1.不关闭本网页跳到新建一个网页的方式:
<button onclick="location.href='xxx.html' ">跳转到另一个html网页</button>
2.关闭当前网页并跳转到新的网页:
<button onclick="location.replace('xxx.html') ">跳到新的html</button>
时间:2022-03-29 13:30:21
1.不关闭本网页跳到新建一个网页的方式:
<button onclick="location.href='xxx.html' ">跳转到另一个html网页</button>
2.关闭当前网页并跳转到新的网页:
<button onclick="location.replace('xxx.html') ">跳到新的html</button>
js点击button按钮跳转到另一个新页面【javascript】
2021-04-06
PHP——0128练习相关2——js点击button按钮跳转到另一个新页面
2024-04-17
【Android】Button之实现点击按钮跳转到另一个界面
2024-02-25
广西桂林市中考满分作文-为了地球的明天1200字作文素材大全
2024-07-30