This should do it

$("#loading_div", top.content.document).show();

$("#loading_div", top.content.document).hide();

See

http://docs.jquery.com/Core/jQuery#expressioncontext

for more info.

- Richard

On Thu, Feb 21, 2008 at 11:03 AM, Thierry <[EMAIL PROTECTED]> wrote:

>
> Nobody have a suggestion for this??
>
> On Feb 19, 10:52 am, Thierry <[EMAIL PROTECTED]> wrote:
> > I,
> >
> > Is there an easy way to reproduce the following using only jquery?
> > I am trying to hide and show an element in a specificframefrom
> > anotherframe.
> > This code is actually working but I would prefer using jquery to do
> > it.
> > ...
> >     var lLoadingDiv =
> > top.content.document.getElementById('loading_div');
> >     lLoadingDiv.style.display='inline';
> > ...
> >
> > Where "content" is the name of my targetframe.
> > I want to use the show() and hide() jquery function instead.
> >
> > Thanks,
> >
> > Thierry
>

Reply via email to