title: Determine if "+" (plus) key in keydown is from the numpad?
body: <p>I am using the following code to determine which key is pressed by the user.</p>
  
  <pre><code>$(document).keydown(function(e){
      var code = (e.keyCode? e.keyCode : e.charCode);
      $("#keyCode").html("Key Code: " + code);
  });
  </code></pre>
  
  <p>My problem is that the code for +/= key is the same as the code for the numpad plus key. Both are 107. How can I tell which of these two keys were pressed?</p>
  
  <p>Update</p>
  
  <p>It looks like this problem is specific to Firefox. Chrome and IE give me codes of 107 and 187.</p>