[jQuery] jQuery in IFrame causing Access Denied javascript error in MSIE 7

[jQuery] jQuery in IFrame causing Access Denied javascript error in MSIE 7


Hello, I have a strange problem with jQuery 1.3 in MSIE 7.
I am developing some code in local domains.
On one of the site I create IFRAME with the SRC of another local
website. Something like:
I mean on a page of http://blog/ we have:
iframe src="http://form/"
"Form" site inside IFRAME loads a page which uses jQuery. But whenever
Jquery loads, MSIE 7 throws an error with "Access denied".
When I access a "Form" site without IFRAME on another site, everything
is OK, no errors. Seems like Jquery tries to access parent document in
another domain, and produces an security error.
If I dont load Jquery in the page in IFRAME, other Javascript code
works fine. Only loading Jquery produces an error.
How to solve this problem?
Thank you.