Find calling iframe id

Posted by Alec Smart on Stack Overflow See other posts from Stack Overflow or by Alec Smart
Published on 2010-03-17T08:57:10Z Indexed on 2010/03/17 9:01 UTC
Read the original article Hit count: 213

Filed under:

Hello,

I have a number of iframes calling a function in my main page. Is there a way to find out the ID of the iframe which called the function?

There are all part of same domain so that should not be an issue.

Thank you for your time.

© Stack Overflow or respective owner

Related posts about JavaScript