Firebug JS warning to jQuery 1.4.2 “The 'charCode' property of a keyup event should not be used. The value is meaningless.” To ignore it?
问题 Firebug 1.5.4 JavaScript warning : The 'charCode' property of a keyup event should not be used. The value is meaningless. To ignore it? Is there any issue? The warning appears to jQuery 1.4.2 keyup and keydown , not on keypress . I have read that on changing event.keyCode and event.charCode to event.which must fix it, but it does not work for me. Full code example in http://jsfiddle.net/zTevK/2/ and in question My code uses keyup and does not work with keypress . $(document).bind('keyup',