Javascript-форум (https://javascript.ru/forum/)
-   Events/DOM/Window (https://javascript.ru/forum/events/)
-   -   onkeydown при разных раскладках (https://javascript.ru/forum/events/30549-onkeydown-pri-raznykh-raskladkakh.html)

Deff 08.08.2012 15:50

devote,
Ну не забыл - но да

trololo 08.08.2012 19:55

Цитата:

Сообщение от bes (Сообщение 195601)
что за поле, может там чего не так сделали, в исходном примере alert()

текстовое поле по ссылке, из мануала. цитата оттуда же.

bes 08.08.2012 20:01

Ну у меня на w7 всё нормально
Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.10.289 Version/12.00

trololo 08.08.2012 21:15

Цитата:

Сообщение от bes (Сообщение 195722)
Ну у меня на w7 всё нормально
Opera/9.80 (Windows NT 6.1; U; ru) Presto/2.10.289 Version/12.00

странно, не думал что ось повлияет на работу js

devote 08.08.2012 22:39

Цитата:

Сообщение от bes
devote, неплохо бы ссылочку

http://www.w3.org/TR/DOM-Level-3-Eve...lemental-which

bes 09.08.2012 11:20

Цитата:

keyCode of type unsigned long, readonly
keyCode holds a system- and implementation-dependent numerical code signifying the unmodified identifier associated with the key pressed. Unlike the KeyboardEvent.key or KeyboardEvent.char attributes, the set of possible values are not normatively defined in this specification; typically, these value of the keyCode should represent the decimal codepoint in ASCII [RFC20][US-ASCII] or Windows 1252 [WIN1252], but may be drawn from a different appropriate character set. Implementations that are unable to identify a key use the key value '0'.

See Legacy key models for more details on how to determine the values for keyCode.

which of type unsigned long, readonly
which holds a system- and implementation-dependent numerical code signifying the unmodified identifier associated with the key pressed. In most cases, the value is identical to keyCode.
devote, приведённая фраза, из которой был сделан вывод, распространяется и на keyCode, видимо поправка ниже, как представленную информацию правильно осмыслить


Часовой пояс GMT +3, время: 18:49.