No of visitors who read this post: 1841
Category: JavaScript
Type: Question
No votes yet

"Microsoft JScript runtime error: 'undefined' is null or not an object"

I just wondering if what does this error message mean. I been doing some codings in JScript and I have encounter this kind of error. I'm new to JScript so I don't have any idea how to debug this kind of error. Please tell me something about this error and what are the possible cause how this error occur.
 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#

Greetings,

This error occurs when the variable or object is not defined or it contains null.

You need to first check on which line it is showing the error. Then go to the html code and check that line that which element shows this error. Then come to the Jscript coding and then check what is set for that element.

If you are using panels and making one visible and other invisible then please make sure that you are not using the variables of the invisible panel. This causes the error as the variables return null.

This error occurs because of many things depends on the program.

Anne.