refresh iframe javascript code example Example: js reload iframe document.getElementById('youriframe').contentWindow.location.reload()