title: what is wrong with this if condition in Javascript?
body: <p>What is wrong with this IF condition?
  When I am giving EEID value as 123456 it should not come into this condition.
  But I see that it is coming.
  Can somebody let me know what am I doing wrong? </p>
  
  <pre><code>if ((EEID.value.length != 6) || (EEID.value.length != 11)) {
          alert(EEID.value.length); //This shows that the value length = 6
          alert("Your Member ID must be a 6 digit or 11 digit number.");
          EEID.focus();
          return false;
        }
  </code></pre>