I swear I tried this... However of course it works now and probably did
before.

Thank you sir.

Works as expected now and my love for jQuery only grows.

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of John Resig
Sent: Monday, September 24, 2007 2:27 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Partial .load()



If you only want the children, just use a child selector:
$("#topic").load("help.html #topic-example > *");

The other selector mentioned "#topic-example *" will get you all
descendants, which will certainly give you strange results.

--John

On 9/24/07, Smith, Allex <[EMAIL PROTECTED]> wrote:
>
>
> I'm going nuts with a fairly simple selector issue. 
> $("#topic").load("help.html #topic-example"); I want to get the 
> contents of #topic-example, but only the children, not the container 
> itself. What is the proper way to do this. It seems so simple, but I'm

> struggling with it.
> Thanks
> AllexS
>

Reply via email to