HBCMS更多的中文手册参考:

keyCode参数属性

DHTML文档教程

Sets or retrieves the Unicode key code associated with the key that caused the event.

dhtml语法

event.keyCode [ = sKeyCode ]

DHTML可能的值

sKeyCodeInteger that specifies or receives the Unicode key code.

The property is read/write. The property has no default value.

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see about dynamic properties.

remarks

the property is used with the onkeydown, onkeyup, and onkeypress events.

the property's value is 0 if no key caused the event.

是否符合公共标准

There is no public standard that applies to this property.

Applies To

event