我是靠谱客的博主 机灵小白菜,这篇文章主要介绍点击按钮或链接不跳转只刷新页面的脚本整理,现在分享给大家,希望可以做个参考。

复制代码 代码如下:

<input type=button value=刷新 onclick="history.go(0)">

<input type=button value=刷新 onclick="location.reload()">

<input type=button value=刷新 onclick="location=location">

<input type=button value=刷新 onclick="location.assign(location)">

<input type=button value=刷新 onclick="document.execCommand('Refresh')">

<input type=button value=刷新 onclick="window.navigate(location)">

<input type=button value=刷新 onclick="location.replace(location)">

<input type=button value=刷新 onclick="window.open('自身的文件','_self')">

<input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>

<a href="javascript:void(0)" onclick="history.go(0)"></a>

<a href="javascript:void(0)" onclick="location=location"></a>

最后

以上就是机灵小白菜最近收集整理的关于点击按钮或链接不跳转只刷新页面的脚本整理的全部内容,更多相关点击按钮或链接不跳转只刷新页面内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(167)

评论列表共有 0 条评论

立即
投稿
返回
顶部