title: how do I perform a function on an item in a jquery array
body: <p>I'm trying to prepend a single element in a jquery array for example: I wish to prepend an image to the second element in this list. </p>
  
  <pre><code>&lt;ul class="works"&gt;
      &lt;li&gt;Zero&lt;/li&gt;
      &lt;li&gt;One&lt;/li&gt;
      &lt;li&gt;Two&lt;/li&gt;
      &lt;li&gt;Three&lt;/li&gt;
      &lt;li&gt;Four&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I have unsuccessfully tried variations of:</p>
  
  <pre><code>$('.error li')[1].prepend("&lt;img class='formHelpLink' src='http://placehold.it/50x50'&gt;");
  </code></pre>
  
  <p>However I just can't get it to work. </p>
  
  <p>Here is a Js fiddle of the problem</p>
  
  <p><a href="http://jsfiddle.net/gpsso478/" rel="nofollow">http://jsfiddle.net/gpsso478/</a></p>