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