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
下面的代码实现了 文件选择2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
2
3
4
5
6
7
8
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
10
var limit="0:10"
11
12
>
2
3
4
5
6
7
8
9
10
11
12