refresh page at javascript code example
Example 1: javascrpt refresh page
location.reload();
Example 2: script refresh js
window.location.href = window.location.pathname + window.location.search + window.location.hash;
location.reload();
window.location.href = window.location.pathname + window.location.search + window.location.hash;