■ドキュメントを再読み込みしたい


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS">
<meta http-equiv="Content-Style-Type" content="text/css">
<title>ドキュメントを再読み込みしたい</title>
</head>
<body>
<p>■ドキュメントを再読み込みしたい</p>
<form name="fm1">
<p><input type="button" value="再読み込み" onclick="location.reload()"></p>
</form>

<script type="text/JavaScript">
<!--
color_no = new Array("ff","ee","dd","cc","bb","aa","99","88","77","66");
i = Math.round(Math.random() * 10);
document.bgColor="#ffcc"+color_no[i];
// -->
</script>
</body>
</html>


★解説★