title: Selecting only one element in the jQuery collection
body: <p>How do I limit an event to a single element in a jQuery collection? </p>
  
  <p>In the case below, I've tried using <code>.one()</code> to limit the behaviour (inserting the <code>&lt;li class='close'&gt;Close&lt;/li&gt;</code> line of HTML) to a single instance. The behaviour does indeed happen only once, but on EVERY matched element of <code>$( "ul&gt;li&gt;a" )</code>. How do I make it happen only once, to only ONE of the matched elements in the collection?</p>
  
  <p>Any ideas? </p>
  
  <pre><code>$( "ul&gt;li&gt;a" ).one(
   "click",    
   function(){
    $( "ul ul")
    .prepend("&lt;li class='close'&gt;Close&lt;/li&gt;")
   }
   ); 
  </code></pre>
  
  <p>Thanks in advance.</p>
  
  <p>-AS</p>