Friday, December 31, 2004

Who'd have thought IE was less forgiving...

Beginning Javscripters beware: IE refuses to believe an object exists unless you pre-define it first (outside any conditionals). I'm tempted to say it's like C.
(UPDATE: I am a big idiot. I had to do this because I didn't use the declaration operator "var".

Also, thanks Simon for having a link to MS's script debugger.
To use it, insert debugger in your code. I inserted it as debugger; but I have limited experience with it. It also acts as a break point, so put it after the problem areas. Just remember to take it out when you're done.

No comments: