Javascript网页刷新方法集锦(测试通过)

方法一:

 

<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)">

 

方法六:

 

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

 

方法七:

 

<input type=button value=刷新 onclick="window.open('Default.aspx','_self')" />

原文地址:https://www.cnblogs.com/52net/p/2521075.html