1 <input type=button value=刷新 onclick="history.go(0)">
<input type=button value=刷新 onclick="history.go(0)"> 
2 <input type=button value=刷新 onclick="location.reload()">
    <input type=button value=刷新 onclick="location.reload()"> 
3
4 <input type=button value=刷新 onclick="location=location">
    <input type=button value=刷新 onclick="location=location"> 
5
6 <input type=button value=刷新 onclick="location.assign(location)">
    <input type=button value=刷新 onclick="location.assign(location)"> 
7
8 <input type=button value=刷新 onclick="document.execCommand('Refresh')">
    <input type=button value=刷新 onclick="document.execCommand('Refresh')"> 
9
10 <input type=button value=刷新 onclick="window.navigate(location)">
    <input type=button value=刷新 onclick="window.navigate(location)"> 
11
12 <input type=button value=刷新 onclick="location.replace(location)">
    <input type=button value=刷新 onclick="location.replace(location)"> 
13
14 <input type=button value=刷新 onclick="window.open('自身的文件','_self')">
    <input type=button value=刷新 onclick="window.open('自身的文件','_self')"> 
15
16 <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
    <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
17
下面的代码实现了 文件选择 <input type=button value=刷新 onclick="history.go(0)">
<input type=button value=刷新 onclick="history.go(0)"> 2
 <input type=button value=刷新 onclick="location.reload()">
    <input type=button value=刷新 onclick="location.reload()"> 3

4
 <input type=button value=刷新 onclick="location=location">
    <input type=button value=刷新 onclick="location=location"> 5

6
 <input type=button value=刷新 onclick="location.assign(location)">
    <input type=button value=刷新 onclick="location.assign(location)"> 7

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

10
 <input type=button value=刷新 onclick="window.navigate(location)">
    <input type=button value=刷新 onclick="window.navigate(location)"> 11

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

14
 <input type=button value=刷新 onclick="window.open('自身的文件','_self')">
    <input type=button value=刷新 onclick="window.open('自身的文件','_self')"> 15

16
 <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>
    <input type=button value=刷新 onClick=document.all.WebBrowser.ExecWB(22,1)>17

1 代碼:
代碼: 
2 <form>
<form> 
3 <input type="text" name="ft1">
<input type="text" name="ft1"> 
4 <input type="button" value="點偶" onclick="document.forms[0].file1.click()">
<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
<input type="file" name="file1" style="display:none" onchange="document.forms[0].ft1.value=document.forms
6
7 [0].file1.value">
[0].file1.value"> 
8 </form>
</form> 
9
 代碼:
代碼: 2
 <form>
<form> 3
 <input type="text" name="ft1">
<input type="text" name="ft1"> 4
 <input type="button" value="點偶" onclick="document.forms[0].file1.click()">
<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
<input type="file" name="file1" style="display:none" onchange="document.forms[0].ft1.value=document.forms6

7
 [0].file1.value">
[0].file1.value"> 8
 </form>
</form> 9

 1 <input type=button id="refreshbutton"  value="停止刷新" onClick="    ChangeName(document.getelementbyID("refreshbutton"))">
<input type=button id="refreshbutton"  value="停止刷新" onClick="    ChangeName(document.getelementbyID("refreshbutton"))">
2 <input type=text value="test1">
 <input type=text value="test1">
3 <input type=text value="test2">
 <input type=text value="test2">
4 <input type=text value="test3">
 <input type=text value="test3">
5 <input type=text value="test4">
 <input type=text value="test4">
6 <input type=text value="test5">
 <input type=text value="test5">
7 <script>
<script> 
8
9
10 var limit="0:10"
var limit="0:10" 
11
12 if (document.images){
if (document.images){ 
13 var parselimit=limit.split(":")
var parselimit=limit.split(":") 
14 parselimit=parselimit[0]*60+parselimit[1]*1
parselimit=parselimit[0]*60+parselimit[1]*1 
15 }
} 
16 function beginrefresh(){
function beginrefresh(){ 
17 if (!document.images)
if (!document.images) 
18 return
return 
19 if (parselimit==1)
if (parselimit==1) 
20 window.location.reload()
window.location.reload() 
21 else{
else{ 
22 parselimit-=1
parselimit-=1 
23 curmin=Math.floor(parselimit/60)
curmin=Math.floor(parselimit/60) 
24 cursec=parselimit%60
cursec=parselimit%60 
25 if (curmin!=0)
if (curmin!=0) 
26 curtime=curmin+"分"+cursec+"秒后重刷本页!"
curtime=curmin+"分"+cursec+"秒后重刷本页!" 
27 else
else 
28 curtime=cursec+"秒后重刷本页!"
curtime=cursec+"秒后重刷本页!" 
29 window.status=curtime
window.status=curtime 
30 setTimeout("beginrefresh()",1000)
setTimeout("beginrefresh()",1000) 
31 }
} 
32 }
} 
33
34 window.onload=beginrefresh
window.onload=beginrefresh 
35
36
37 </script>
</script>
 <input type=button id="refreshbutton"  value="停止刷新" onClick="    ChangeName(document.getelementbyID("refreshbutton"))">
<input type=button id="refreshbutton"  value="停止刷新" onClick="    ChangeName(document.getelementbyID("refreshbutton"))">2
 <input type=text value="test1">
 <input type=text value="test1">3
 <input type=text value="test2">
 <input type=text value="test2">4
 <input type=text value="test3">
 <input type=text value="test3">5
 <input type=text value="test4">
 <input type=text value="test4">6
 <input type=text value="test5">
 <input type=text value="test5">7
 <script>
<script> 8

9

10
 var limit="0:10"
var limit="0:10" 11

12
 if (document.images){
if (document.images){ 13
 var parselimit=limit.split(":")
var parselimit=limit.split(":") 14
 parselimit=parselimit[0]*60+parselimit[1]*1
parselimit=parselimit[0]*60+parselimit[1]*1 15
 }
} 16
 function beginrefresh(){
function beginrefresh(){ 17
 if (!document.images)
if (!document.images) 18
 return
return 19
 if (parselimit==1)
if (parselimit==1) 20
 window.location.reload()
window.location.reload() 21
 else{
else{ 22
 parselimit-=1
parselimit-=1 23
 curmin=Math.floor(parselimit/60)
curmin=Math.floor(parselimit/60) 24
 cursec=parselimit%60
cursec=parselimit%60 25
 if (curmin!=0)
if (curmin!=0) 26
 curtime=curmin+"分"+cursec+"秒后重刷本页!"
curtime=curmin+"分"+cursec+"秒后重刷本页!" 27
 else
else 28
 curtime=cursec+"秒后重刷本页!"
curtime=cursec+"秒后重刷本页!" 29
 window.status=curtime
window.status=curtime 30
 setTimeout("beginrefresh()",1000)
setTimeout("beginrefresh()",1000) 31
 }
} 32
 }
} 33

34
 window.onload=beginrefresh
window.onload=beginrefresh 35

36

37
 </script>
</script> 
                     
                    
                 
                    
                 



 


 
                
            
         
        