Getting "The 'charCode' property of a keydown event should not be used. The value is meaningless" e

Posted by sadmicrowave on Stack Overflow See other posts from Stack Overflow or by sadmicrowave
Published on 2010-04-14T16:12:27Z Indexed on 2010/04/14 16:13 UTC
Read the original article Hit count: 414

Filed under:
|
|

I'm getting "The 'charCode' property of a keydown event should not be used. The value is meaningless" error in firefox using jQuery. My code looks like this:

$("div#center-box div#empid-textbox input.id").keydown(function(e){ key = e.which; if(key===13){ //do something; }; });

does anyone know how to remedy this error?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about keydown