Javascript: different keyCodes on different browsers? -
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.
javascript keycode
Comments
Post a Comment