I tried the method, it works with  $("#myid", parent.document.body);

Thanks for this tip!

Jiming

On Mar 8, 4:03 am, tlphipps <[EMAIL PROTECTED]> wrote:
> I beat my head against this wall for quite some time.
>
> Try this:
> $("#myid", top.document);
>
> the top.document tells the selector to target the myid element which
> exists in the topmost document (your parent page).  In order for this
> to work, jquery must be loaded in the file which is viewed through the
> iframe.
>
> On Mar 6, 6:24 pm, ABecks <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I have a simple HTML file with an iframe. Inside the iframe is a
> > simple submission form. I would like to be able to click "Submit" and
> > have Jquery append content to a div that is outside of the iframe.
>
> > I have exhausted my knowledge of parent heirarchy in JS trying to find
> > a solution. I couldn't find a solution in the Wiki or on Google.
>
> > Any help is appreciated,
> > Andrew
> > --
> > View this message in 
> > context:http://www.nabble.com/Using-JQuery-Effects-in-Parent-Window-from-iFra...
> > Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to