Test results:
Under IE:
>> supports keyCode
>> which and charCode are not supported, both values are undefined
Under Firefox:
>> supports keyCode. Except for function keys, other key values are always 0
>> supports which and charCode, the values of which are the same
under Opera :
>> supports keyCode and which, the values of both are the same
>> does not support charCode, the value is undefined
]
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn