html iframe reload with new data 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();