Book Section

General Section

Other Sites

|
JavaScript Workshop Forums
View previous topic :: View next topic |
Author |
Message |
phil karras
Senior Member

Joined: 15 Jul 2002
Posts: 1697
Location: MD
|
Posted: Mon Apr 07, 2003 11:02 am Post subject: Hints on, Error: Object Does Not Exist |
 |
|
There are really only two reasons for getting this error,
1. The object really doesn't exist. This could be because you're calling it one thing and the browser is calling it something else. The Browser is ALWAYS right, sort of like the customer. You are writing this code for the browser (the customer) and it expects things in a defined way, either you give it in those terms or you get this error.
2. There was an earlier error that cause the browser to miss, skip, ignore, or otherwise not be able to create the object in question.
For #2 if you're using NS you simply start up the JS debugger and look for and clear up all previous errors and that should take care of the problem. In IE you'll need to have the debugger set to come up for all JS errors. I believe Michael has an article on how to do that.
See: Hints: Turning on Error Messages
http://jsworkshop.com/bb/viewtopic.php?t=143
and
Hint article on: Object Expected Error
http://jsworkshop.com/bb/viewtopic.php?p=2788
_________________
Phil K
Circle Software Consulting
Test website: http://cs.yrex.com/
Guidelines for Posting: http://jsworkshop.com/posting.html
IHBAAA = It Has Been Asked And Answered
KISS: http://jsworkshop.com/bb/viewtopic.php?t=508 |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
(c) 1997-2002 Starling Technologies and Michael Moncur. Portions (c) Sams Publishing. |
|
|