Getting portion of an html string with jQuery
<p>I have a javascript variable named <code>response</code>. This is the response from an ajax call. This variable has the following content:</p>

<pre><code>&lt;table id="ListCompanies" class="zebra-striped"&gt;

&lt;thead&gt;
    &lt;tr&gt;
        &lt;th&gt;Nom de la societe&lt;/th&gt;
        &lt;th&gt;Ville&lt;/th&gt;
        &lt;th&gt;Rue&lt;/th&gt;
        &lt;th width="70"&gt;&lt;a class="btn primary small createCompany" href="/PLATON/Admin/Company/Create"&gt;[+] Nouvelle societe&lt;/a&gt; &lt;/th&gt;
    &lt;/tr&gt;
&lt;/thead&gt;

&lt;tbody&gt;
        &lt;tr id="13"&gt;
            &lt;td&gt;INDUSTRIAL DEFENDER INC&lt;/td&gt;
            &lt;td&gt;FOXBOROUGH&lt;/td&gt;
            &lt;td&gt;Chestnut Street&lt;/td&gt;

            &lt;td nowrap&gt;                                    
                &lt;a class="btn small editCompany" href="/PLATON/Admin/Company/Edit/13" id="13"&gt;Modifier&lt;/a&gt; 
                &lt;a class="btn small deleteCompany" href="/PLATON/Admin/Company/Delete/13" id="13"&gt;Supprimer&lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr id="14"&gt;
            &lt;td&gt;INC CRANE NUCLEAR&lt;/td&gt;
            &lt;td&gt;GEORGIA KENNESAW&lt;/td&gt;
            &lt;td&gt;cobb International Blvd&lt;/td&gt;

            &lt;td nowrap&gt;                                    
                &lt;a class="btn small editCompany" href="/PLATON/Admin/Company/Edit/14" id="14"&gt;Modifier&lt;/a&gt; 
                &lt;a class="btn small deleteCompany" href="/PLATON/Admin/Company/Delete/14" id="14"&gt;Supprimer&lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
&lt;/tbody&gt;

&lt;/table&gt;



&lt;a href="/PLATON/Admin/Company/RowsList?page=3" id="LoadMoreLink"&gt;Load more&lt;/a&gt;
</code></pre>

<p><code>alert($("tbody", response).html());</code> gives me:</p>

<pre><code>        &lt;tr id="13"&gt;
            &lt;td&gt;INDUSTRIAL DEFENDER INC&lt;/td&gt;
            &lt;td&gt;FOXBOROUGH&lt;/td&gt;
            &lt;td&gt;Chestnut Street&lt;/td&gt;

            &lt;td nowrap&gt;                                    
                &lt;a class="btn small editCompany" href="/PLATON/Admin/Company/Edit/13" id="13"&gt;Modifier&lt;/a&gt; 
                &lt;a class="btn small deleteCompany" href="/PLATON/Admin/Company/Delete/13" id="13"&gt;Supprimer&lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr id="14"&gt;
            &lt;td&gt;INC CRANE NUCLEAR&lt;/td&gt;
            &lt;td&gt;GEORGIA KENNESAW&lt;/td&gt;
            &lt;td&gt;cobb International Blvd&lt;/td&gt;

            &lt;td nowrap&gt;                                    
                &lt;a class="btn small editCompany" href="/PLATON/Admin/Company/Edit/14" id="14"&gt;Modifier&lt;/a&gt; 
                &lt;a class="btn small deleteCompany" href="/PLATON/Admin/Company/Delete/14" id="14"&gt;Supprimer&lt;/a&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
</code></pre>

<p>That's ok for me.</p>

<p>How can I get the link at the bottom <code>#LoadMoreLink</code> from the response variable?</p>

<p>I tried: </p>

<pre><code>alert($("#LoadMoreLink",response));
</code></pre>

<p>But it didn't work.</p>
