button刷新页面的几种方式

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

 

发表回复

您的E-mail地址不会被公开,*号为必填

*
*