button刷新页面的几种方式

作者: 时间:
浏览 : 718
<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)>

 

Tag标签:

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注