refresh button html iframe code example Example: onclick reload an iframe document.getElementById('iframeID').contentWindow.location.reload();