How to access nested iframes?

Posted by Debugger on Stack Overflow See other posts from Stack Overflow or by Debugger
Published on 2012-06-28T09:51:14Z Indexed on 2012/06/28 15:16 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I need to send post message to iframe.
currently its working if i have single iframe inside parent page.But I want to make it work for nested iframes.
Criterias are :

  • I can just add listener code in last leaf iframe.
  • Do not know length of iframe nesting.
  • Need both way communication , from parent to child also by leaf iframe to parent.

I am sick of third part iframes , please suggest me some appropriate solution.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery