title: jquery - get first occurence of selection
body: <p>How can i determine if  first occurance (element 0) of  contains text "No Errors"</p>
  
  <pre><code>if ($(xml).find('errors')[0].text() == 'No Errors') 
  {
    do something
  }
  </code></pre>
  
  <p>!!! edit !!!</p>
  
  <pre><code> found it...
  
   if ($(xml).find('error').first().text() == 'No errors') 
  </code></pre>