reload iframe programmatically code example
Example 1: js reload iframe
document.getElementById('youriframe').contentWindow.location.reload()
Example 2: iframe reload parent page
parent.location.href=parent.location.href
parent.location.reload()