how to refresh iframe which is present in a parent window code example
Example 1: iframe reload parent
// iFrame and parent domains must match
parent.location.reload()
Example 2: iframe reload parent page
parent.location.href=parent.location.href
parent.location.reload()