Monday, July 20, 2015

Google Chrome throwing : Uncaught TypeError: Cannot read property 'value' of undefined

Just found this Javascript error in google chrome which causes form submission failure. The same code works fine in Internet Explorer.

Uncaught TypeError: Cannot read property 'value' of undefined
Looks like the chrome is trying to access these element before the page is loaded as adding this js after body tag doesn't throw the same error.

No comments:

Post a Comment