$(document).ready(function () { setTimeout(function () { console.log("refresh"); location.reload(); }, 10 * 1000); });