title: Find elements in a jQuery document fragment with jQuery's "find"
body: <p>If I do the following, then <code>0</code> and <code>2</code> are returned, respectively:</p>
  
  <pre><code>$html = $(document.createDocumentFragment());
  $html.append('&lt;a href="#"&gt;First link&lt;/a&gt;&lt;a href="#"&gt;Second link&lt;/a&gt;');
  
  console.log($html.find('a').length);
  console.log($html[0].querySelectorAll('a').length);
  </code></pre>
  
  <p>How can I make it so that the jQuery method will also work? So basically, I want to be able to search a document fragment with jQuery, rather than needing to switch back and forth with native JavaScript DOM functions.</p>