How to write this in jquery "window.parent.document.getElementById('parentPrice').innerHTML"?

Posted by Amr ElGarhy on Stack Overflow See other posts from Stack Overflow or by Amr ElGarhy
Published on 2009-04-07T17:35:18Z Indexed on 2010/03/19 8:31 UTC
Read the original article Hit count: 165

Filed under:
|

I have an iframe and I wrote this code

window.parent.document.getElementById('parentPrice').innerHTML

to access parent element. How to get the same result using jquery?
UPDATE: Or how to access iFrame parent page using jquery?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery