1<input type=button value=刷新 onclick="history.go(0)"> 
 2    <input type=button value=刷新 onclick="location.reload()"> 
 3
 4    <input type=button value=刷新 onclick="location=location"> 
 5
 6    <input type=button value=刷新 onclick="location.assign(location)"> 
 7
 8    <input type=button value=刷新 onclick="document.execCommand('Refresh')"> 
 9
10    <input type=button value=刷新 onclick="window.navigate(location)"> 
11
12    <input type=button value=刷新 onclick="location.replace(location)"> 
13
14    <input type=button value=刷新 onclick="window.open('自身的文件','_self')"> 
15
16    <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
17
下面的代码实现了 文件选择
1代碼: 
2<form> 
3<input type="text" name="ft1"> 
4<input type="button" value="點偶" onclick="document.forms[0].file1.click()"> 
5<input type="file" name="file1" style="display:none" onchange="document.forms[0].ft1.value=document.forms
6
7[0].file1.value"> 
8</form> 
9
 1<input type=button id="refreshbutton"  value="停止刷新" onClick="    ChangeName(document.getelementbyID("refreshbutton"))">
 2 <input type=text value="test1">
 3 <input type=text value="test2">
 4 <input type=text value="test3">
 5 <input type=text value="test4">
 6 <input type=text value="test5">
 7<script> 
 8
 9
10var limit="0:10" 
11
12if (document.images)
13var parselimit=limit.split(":"
14parselimit=parselimit[0]*60+parselimit[1]*1 
15}
 
16function beginrefresh()
17if (!document.images) 
18return 
19if (parselimit==1
20window.location.reload() 
21else
22parselimit-=1 
23curmin=Math.floor(parselimit/60
24cursec=parselimit%60 
25if (curmin!=0
26curtime=curmin+""+cursec+"秒后重刷本页!" 
27else 
28curtime=cursec+"秒后重刷本页!" 
29window.status=curtime 
30setTimeout("beginrefresh()",1000
31}
 
32}
 
33
34window.onload=beginrefresh 
35
36
37</script>