Yes, that works but...

This and any other way I do it produces interesting results.

This:

<p>
        This is some dummy text. Just some more text. This is some dummy
text. <br /> 
        Just some more text. 
        <a href="http://www.google.com";>Test Link</a> This is some dummy
text. Just some more text. 
        This is some dummy text. Just some more text. 
</p>
<ul>
        <li>Item</li>
        <li>Item</li>
        <li>Item</li>
        <li>Item</li>
</ul>

Becomes This:

<p> 
        This is some dummy text. Just some more text. This is some dummy
text. Just some more text. This is      some dummy text. Just some more
text. This is some dummy text. Just some more text. 
</p>
<br/>
<a href="http://www.google.com";>Test Link</a>
<ul/>
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>




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



Hi,

untested:

$("#topic").load("help.html #topic-example *");


-- Marc


Smith, Allex schrieb:
> 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