title: jQuery If then with two conditions?
body: <p>I want to run an action if two specific elements both have the class "valid". In this case I want the  fadein action preformed if both the element #fname and #lname have the class "valid"</p>
  
  <pre><code>  $('.step3 :button').click(function(){
    if ($('#fname').hasClass('valid')), ($('#lname').hasClass('valid')), {      
  
    $('.step4').fadeIn();
        } else {
      alert("Please Complete All Fields");
       }
  });
  </code></pre>