title: IF statement with or conditions (HTML and Javascript)
body: <p>Why does this not function correctly? </p>
  
  <p>No matter what value you enter it ALWAYS returns "Invalid Ticket Type"</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>function start() {
    var TickType;
    TickType = document.getElementById("TicketType").value;
    TickType = String(TickType);
    var TicketQty = document.getElementById("TicketQty").value;
  
    if (TickType != "A" || TickType != "B" || TickType != "C") {
      document.getElementById("msg").innerHTML = "Invalid Ticket Type";
    }
  
    if (isNaN(TicketQty)) {
      document.getElementById("msg").innerHTML = "Non numeric qty has been entered";
    }
  
    if (TicketQty &lt; 1 || TicketQty &gt; 100) {
      document.getElementById("msg").innerHTML = "Qty is outside valid range";
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;Ticket Sales&lt;/h1&gt;
  &lt;p&gt;Enter the ticket type (A, B or C)&lt;/p&gt;
  &lt;input type="text" id="TicketType"&gt;
  
  &lt;p&gt;Enter the quantity required (1-100)&lt;/p&gt;
  &lt;input type="text" id="TicketQty"&gt;
  
  &lt;p&gt;
    &lt;/br&gt;
  &lt;/p&gt;
  
  &lt;button onclick="start()"&gt;Click me&lt;/button&gt;
  &lt;p id="msg"&gt;&lt;/p&gt;</code></pre>
  </div>
  </div>
  </p>