Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Undefined is null or not an object

 
m brymer
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have been staring at this for far to long and can't seem to see the problem. I keep getting the error message "undefined is null or not an object" when I run this piece of script. It is supposed to populate a 3rd select box based on the selection in the first select box from an array. Can someone look at my code an possibly tell me what I am not seeing?
Thanks!
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you are not passing the correct information to part of the script. The error usually means that the element is not there on the page or it has not loaded.

I would highly recoomend that you download Mozilla or Firefox. They have a JavaScript debugging window that shows you the errors with a better description.

Eric
 
m brymer
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric, javascript is still much of mystery to me
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic