title: jQuery if multiple objects equal same value
body: <p>I have multple objects. Before submitting a form, I want to check to be sure all of the object values are "ok".</p>
  
  <pre><code>$("#sub_button").click(function() {
      if (myObj.login_id &amp;&amp; myObj.email == "ok")  {
          alert("This would submit the form. login ID obj is: "+myObj.login_id+" and email email obj is: "+myObj.email);
      } else {
          alert("the form is bad!");
      }
  });
  </code></pre>
  
  <p>I've tried it with two == and three ===, it still isn't working. The <code>myObj.login_id</code> or <code>myObj.email</code> could equal ANYTHING and it still pops up the "This would submit the form" alert, and shows in the alert box that the value(s) is NOT "ok".</p>
  
  <p>What am I doing wrong?</p>