Difference between $('#foo').remove('a') and $('#foo').find('a').remove()
<p>I am trying to edit a string of HTML (from a textarea) using jQuery. When I use this code, links are removed from the resulting string, as expected:</p>

<pre><code>      $('#foo').find('a').remove();
      $('#foo').html(); // links are removed, as expected
</code></pre>

<p>But when I use the code below, the links don't get removed.</p>

<pre><code>      $('#foo').remove('a');
      $('#foo').html(); // links are still there
</code></pre>

<p>Why doesn't this work? I have read the jQuery API <a href="http://api.jquery.com/remove/" rel="nofollow">documentation for .remove()</a>, and I still don't understand.</p>
