refresh an iframe javascript code example
Example 1: js reload iframe
document.getElementById('youriframe').contentWindow.location.reload()
Example 2: onclick reload an iframe
document.getElementById('iframeID').contentWindow.location.reload();
document.getElementById('youriframe').contentWindow.location.reload()
document.getElementById('iframeID').contentWindow.location.reload();