Add container #id to .load('$(this).attr("href"));
<p>I want to pull only a specific div from the page my link is pointing to.</p>

<p>My links are formatted like this : <code>&lt;a href="about-smith.asp" class="pic"&gt;img&lt;/a&gt;</code></p>

<pre><code>$(function(){
        $("a.pic").live('click', function (e) {
            e.preventDefault();
            $("#subsidebar").load($(this).attr("href") + "#subcontent");
         });
    });
</code></pre>

<p>And I want that to pull only the #subcontent div from about-smith.asp. It's displaying the content in the #subsidebar div, but it's the <em>entire</em> page.</p>
