title: jQuery if A length == 0 && B length == 1 do something
body: <p>How do I get this code to work correctly if I want (A.length == 0 &amp;&amp; B.length == 1)?</p>
  
  <pre><code>    $(function() {
  if (($('.thePrices').find('.addcartforlower').length == 0 ) &amp;&amp; ($('.exclusive').length == 1 )) {
      $('.thePrices').find('a').after($('.wb_main').addClass('winbuyerset'));
  $('.thePrices').find('.wb_main').before($('#compare'));   
  
        }
    });
  </code></pre>