how to refresh iframe using 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();