Test results:
Under IE:
>> supports keyCode
>> does not support which and charCode, 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:
> > Support keyCode and which, both have the same value
>> CharCode is not supported, the value is undefined