title: Jquery - if .find returns nothing
body: <p>I have the following XML for example:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
      &lt;extraslist&gt;
          &lt;extra 
              id="0"
              enabled="1"
              quantityavailable="2"
              displayindex="1"&gt;
              &lt;extraname&gt;Example 1&lt;/extraname&gt;
              &lt;extradesc&gt;Example 1 Description&lt;/extradesc&gt;
          &lt;/extra&gt;
          &lt;extra 
              id="1"
              enabled="1"
              displayindex="2"&gt;
              &lt;extraname&gt;Example 2&lt;/extraname&gt;
              &lt;extradesc&gt;Description 2&lt;/extradesc&gt;
          &lt;/extra&gt;
      &lt;/extraslist&gt;
  </code></pre>
  
  <p>And a .find function that finds each extra and displays the result on a web page.</p>
  
  <pre><code>$(xmlExtras).find('extra').each(function(){
  
  });
  </code></pre>
  
  <p>How would I go about writing a function so that if all 'extras' = enabled="0" to do something...</p>