house9 / jquery-iframe-auto-height

jQuery plugin to set the height of an iframe to its contents height
https://github.com/house9/jquery-iframe-auto-height
453 stars 211 forks source link

Permission denied to access property 'ownerDocument' #28

Closed balagebest closed 12 years ago

balagebest commented 12 years ago

Hi there!

I followed the instructions exactly, I have an error: Permission denied to access property 'ownerDocument'.

I am using this with FF, user agent: iPhone 3.

Any ideas?

Thanks in advance.

house9 commented 12 years ago

are you trying to load a web page from a different domain into the iframe?

Will NOT work if the iframe contains a page from another domain

balagebest commented 12 years ago

Hey,

Thanks for your answer. I just set up a height which is ~ good for every content, as a "workaround".

Plugin is good, keep it up.