As far as I know, not directly with JavaScript. You seem to be encountering limitations imposed by the same origin policy for security purposes. For some information on the same origin policy, see https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript<https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript> Teddy
On Fri, Jul 17, 2009 at 2:39 PM, Mike521 <mi...@favorfavor.com> wrote: > > 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