Calling a Parent Javascript Method from a Child Page

If we want to call a javascript method on parent page from a child page, we could use something like this-

<a onclick=’javascript:parent.ParentJavaScriptMethod()’ >Click To Do Some Parent Specific Action </a>

parent. and follow it up by any method name that you wish to use in parent page.

Hope this helps

Cheers!!!

0 Responses to "Calling a Parent Javascript Method from a Child Page"

Post a Comment