Call a parent window function from an iframe
Did you ever want to call a code/website that belongs to the parent window, and that too from the child window? Well, some good news for new. You will be able to do your desired job. The window will get opened by using the iframe, and the communication could be done with the parent window from the child window.
To call a parent window function, use the following syntax and also refer to the code given below.
<a onclick="parent.abc();" href="#" > Call the parent window here </a>