Javascript and Ipad

Hello,

Maybe this is a off-topic post, but I would like to ask you something with Javascript on the iPad’s Safari. I have a website that requires the presence of 2 iframes.

For some reason, querying the parent window from the iframe, does not seem to work like parent.$(“#element”).dosomething() ( using jquery )

Have you ever encountered such problems?
Googling resolves issues with scrolling the iframe, not querying parent window …

Thanks in advance for any light shed on this subject…
Best regards