Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error: undefined

Status
Not open for further replies.

crmpicco

Programmer
Nov 29, 2004
66
GB
what does
Error: 'TipObj' is undefined mean?

Picco
 
It means the variable you are trying to access does not have any value

JavaScript Beginner at work :)
 
Sorry thats not right, typing without thinking here ...

It means that you have not defined the specified variable within your script OR you can not access it through were you are trying to access it from OR you may have a syntax problem

JavaScript Beginner at work :)
 
The main reasons I've found for that type of message are:

You misspelled the name of the variable either when you defined it or when you reference it. Remember JS is case-sensitive.

The variable is out of scope. You may have defined it in one function and tried to reference it in another. Define it outside of any functions to solve this problem.

You are trying to use a property or method that is undefined, or the object reference is undefined.

Meddle not in the affairs of dragons,
for you are crunchy, and good with mustard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top