Raw DOM element vs. jQuery object
<p>I'm looking at the following example of explicit iteration from <a href="http://jqfundamentals.com/chapter/jquery-basics" rel="nofollow">http://jqfundamentals.com/chapter/jquery-basics</a>:</p>

<pre><code>$( 'li' ).each(function( index, elem ) {
  // this: the current, raw DOM element
  // index: the current element's index in the selection
  // elem: the current, raw DOM element (same as this)
  $( elem ).prepend( '&lt;b&gt;' + index + ': &lt;/b&gt;' );
});
</code></pre>

<p>The comments refer to <code>elem</code> as a raw DOM element, but then the code calls <code>.prepend()</code> on <code>elem</code>. </p>

<p>I'm just getting started with jQuery, but it's my understanding you can only call a jQuery method on a jQuery object - <em>not</em> on a raw DOM element. Am I misunderstanding?</p>
