html 刷新 按钮 代码

<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="window.navigate(location)">

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

 

这是从百度知道找到的,都是实现了显示刷新按钮,实现的F5功能,但是不知道区别在哪里,等我研究出来区别在补充完整

posted on 2015-05-30 17:39  lee.r  阅读(4460)  评论(0编辑  收藏  举报

导航