meta refresh only once code example Example: meta refresh only once document.getElementById('iframeID').contentWindow.location.reload();