How to call parent function from iframe

You can call a parent function from iframe.

Parent.parentfunctionname();

parentfunctionname() is the function in the parent page.

Comments