Monday, October 14, 2013

Call to Parent Function in Iframe

There are two ways call parent function in iframe

 parent.functionName

 or

 window.top.functionName

This is only in my opinion, I would prefer to use  window.top.functionName.

because parent is not working well in sometime.

No comments:

Post a Comment