title: event key code for ampersand?
body: <p>I am trying to find the keycode for ampersand and underscore. I should not allow my users to allow to enter ampersands and underscores. I was taking a look at one list, and it mentions 55 as the keycode for both 7 &amp; ampersand, and another list says that 55 is the keycode for 7. So if I return false when my user hits the keycode 55, I am disallowing the user from using 7, which isn't the requirement. How do I find the keycodes for ampersand and underscore?</p>
  
  <p>I just tried with 55, but it only is giving me the alert for 7 not with ampersand!</p>
  
  <pre><code>function noenter(e)
  {
      evt = e || window.event;
      var keyPressed = evt.which || evt.keyCode;
  
      if(keyPressed==13)
      {
          return false;
      }
      else if(evt.shiftKey &amp;&amp; keyPressed===55)
  //  else if(keyPressed==59 || keyPressed==38 || keyPressed==58 || keyPressed==95)
      {
          alert("no special characters");
          return false;
      }
  }
  </code></pre>