[jQuery] Allow iframe from remote domain have javascript access

[jQuery] Allow iframe from remote domain have javascript access


Hi all, I'm trying something along these lines:
my domain = example.com
external domain = otherExample.com
example.com/test.htm contains:
iframe src=otherExample.com/test2.htm
I want test2.htm to have access to the contents of test.htm. I can do
this using selectors like $("p",top.document) ONLY if test2.htm is
loaded from example.com rather than from otherExample.com. As soon as
it's loaded from otherExample.com, it can't get access to the contents
of example.com/test.htm
Is it possible to do this?
thanks in advance