Javascript: different keyCodes on different browsers? -


so i've seen forums posts different browsers reporting differenct keycodes, seems avoid "why?".

i trying capture colon (:) keycode , realized firefox reports e.keycode 56. while chrome reports 186 (i think that's was).

is there univeral way of getting right keycode across browsers?

and why different if same keys?

i more curious whether there international way of getting same key press.

thanks.

see http://unixpapa.com/js/key.html explanation why have different keys. not know of international way match keys.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -