Why jQuery's event.which gives different results in Firefox and Chrome?
Have a look at this live demo (from jQuery's site). Clicking - (dash) in Firefox says that event.which is 173 , while doing the same in Chrome produces 189 . This jQuery page says that event.which should be normalized for cross browser consistency. But, it looks like this is not true. Why is this inconsistency? This jQuery page says that event.which should be normalized for cross browser consistency. But, it looks like this is not true. jQuery normalizes the property name (e.g., always which , rather than which or keyCode depending on browser), but not the value of the property, which would be