location.reload
ページをリロードします。
構文
location.reload()
例文
<html>
<head>
<title>location.reload</title>
<script type="text/javascript"><!--
function pageReload () {
location.reload();
}
// --></script>
</head>
<body>
<form>
<input type="button" value="reload" onClick="pageReload()">
</form>
</body>
</html>
関連記事
- location.search
- location.replace
- location.protocol
- location.port
- location.pathname
- location.href
- location.hostname
- location.host
- location.hash
- location.assign
スポンサーリンク





