Unable to get value of property 'keyCode': object is null or undefined : Internet Explorer

Posted by user1409232 on Stack Overflow See other posts from Stack Overflow or by user1409232
Published on 2012-06-29T21:12:34Z Indexed on 2012/06/29 21:15 UTC
Read the original article Hit count: 249

Filed under:

One of the customers are facing difficulty while logging into our webiste, whenever the user types the first character in UserName text box on the sign in page, he gets below JavaScript error message.

Unable to get value of property 'keyCode': object is null or undefined

We do check for event.keyCode to validate the userName textbox , so as soon as the user types the first character we send the event.keyCode for validation which is failing.

The browser is internet Explorer 9 and we are not able to reproduce the problem in our workstation which has I9

© Stack Overflow or respective owner

Related posts about internet-explorer