title: event.altKey not working in chrome and IE
body: <p>Assume we have this code:</p>
  
  <pre><code>&lt;html&gt;&lt;head&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=UTF-8"&gt;
  
  &lt;script type="text/javascript"&gt;
  var p = 0;
  
  function reset()
  {
      // some efforts
  }
  
  function code(e) {
      e = e || window.event;
      return(e.keyCode || e.which);
  }
  window.onload = function(){
      document.onkeypress = function(e){
      var key = code(e);      
      if(key == 38 || key == 40)
      {}
      else if(e.altKey)
      {
          alert('altkey pressed');
      }
      else
      {
          // Another THING!
      }
      };
  };
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body style="padding:30px; font-size:30px;font-family: Courier;"&gt;
  &lt;span onclick="reset();" accesskey="r"&gt;&lt;/span&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>It works great in Firefox but not in IE an Chrome.<br>
  When I change <code>alt</code> into <code>shift</code> it works on all browsers. but as you may notice, I wanted to use this for Shortcut key and I think this is a problem of <kbd>Alt</kbd> key in Chrome and IE (because both use <kbd>Alt</kbd> for <code>accesskey</code> attribute but Firefox uses <kbd>Alt</kbd>+<kbd>Shift</kbd> as mentoned <a href="http://www.w3schools.com/tags/att_global_accesskey.asp" rel="nofollow">here</a>).<br>
  So guys what you suggest me to do ?</p>