javascript7种方式刷新
JavaScript #刷新2012-04-14 23:59
1 | < input type = button value=刷新 onclick=”history.go(0)”> |
2 | < input type = button value=刷新 onclick=”location.reload()”> |
3 | < input type = button value=刷新 onclick=” location =location”> |
4 | < input type = button value=刷新 onclick=”location.assign(location)”> |
5 | < input type = button value=刷新 onclick=”document.execCommand(’Refresh’)”> |
6 | < input type = button value=刷新 onclick=”window.navigate(location)”> |
7 | < input type = button value=刷新 onclick=”location.replace(location)”> |
相关文章
- javascript取得radio值 2012/04/14