title: Jquery .change and .focusout functions together
body: <p>I need to check if the textboxes and the select option box and then enable the "Submit" button. If the textbox is empty and the select option box is none the "Submit" button should not be enabled. how to do that.</p>
  
  <pre><code>$("#textbox1, #textbox2").focusout(function(){
      if($("#textbox1").val()!=""
      &amp;&amp; $("#textbox1").val()!=""){
          $("#submit").prop('disabled', false);
      }else{
          $("#submit").prop('disabled', true);
      }
  });
  </code></pre>
  
  <p>This code works fine but I need when the 2 textboxes are not empty and the select option box is not none the submit button should be enabled how to do that?</p>