reload javascript on page load code example
Example 1: reload page javascript
window.location.reload();
Example 2: javascript reload page one time
window.onload = function() {
if(!window.location.hash) {
window.location = window.location + '#loaded';
window.location.reload();
}
}
Example 3: meta refresh only once
document.getElementById('iframeID').contentWindow.location.reload();