JavaScriptでページのリロードをするコードを紹介します。 概要 JavaScriptでページのリロードをするには、Windowオブジェクトのwindow.location.reload()メソッドを用います。 プログラム例 コード 下記のHTMLファイルを作成します。 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title></title> <script type="text/javascript"> var now = new Date(); function LoadProc() { var target = document.getElementB