title: What does || do in ( charCode < 48 || charCode > 57)?
body: <p>Can anyone tell me what the two lines do here?</p>
  
  <pre><code>( charCode &lt; 48 || charCode &gt; 57))
  </code></pre>
  
  <p>I guess it means something like "or" or "do both"...</p>
  
  <pre><code>function numberCheck(evt)
  {
  var charCode = (evt.which) ? evt.which : event.keyCode;
  if (charCode &gt; 31 &amp;&amp; ( charCode &lt; 48 || charCode &gt; 57))
  {
          document.getElementById("numonly").innerHTML = "Numbers Please!";
  
          return false;
  }
  else
  {
          document.getElementById("numonly").innerHTML = "";
          return true;
  }
  }
  </code></pre>
  
  <p>So what your saying is that the code is looking for all characters except 48-57?</p>