Cant get jQuery methods to work
<p>Why is it when I select html elements using .get(i) or similar methods, I am unable to use methods on those elements like the .removeClass() or .html().</p>

<p>I would think that the code below is perfectly valid, yet neither lines work. What do I need to do to apply jQuery methods to an element based on its ordinal index in the DOM?</p>

<pre><code>($('li').get(0)).removeClass('yourClass');
$('li')[0].addClass('myClass');
</code></pre>

<p>Here is an example of the issue: <a href="http://jsfiddle.net/KcNWy/2/" rel="nofollow">http://jsfiddle.net/KcNWy/2/</a></p>
