title: keypress event not working properly in safari and in Firefox with jQuery 1.3
body: <p>The code snippet is <a href="http://gist.github.com/275557" rel="nofollow noreferrer">here</a></p>
  
  <p>If I replace keypress with keyup or keydown, it works fine. As per <a href="http://api.jquery.com/event.which/" rel="nofollow noreferrer">jQuery documentation</a> event.which should work fine.</p>
  
  <p>Update:</p>
  
  <p>Very bottom of <a href="http://www.quirksmode.org/js/keys.html" rel="nofollow noreferrer">this page says</a>:</p>
  
  <p>If you need to detect these keys, do yourself a favour and search for their keyCode onkeydown/up, and ignore both onkeypress and charCode.</p>
  
  <p>Looks like keypress is not very reliable.</p>
  
  <p>Update2:</p>
  
  <p>keypress event does work in firefox and in Safari. However it does not detect left and right arrow keypress. <a href="http://docs.jquery.com/Events/keypress" rel="nofollow noreferrer">http://docs.jquery.com/Events/keypress</a></p>