javascript reload parent from iframe 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()