This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TypeError: 'undefined' is not a function

Bob Grossman
Ranch Hand
Posts: 70
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A student using Safari on MacOS 10.6 is reporting that he sees the error above when he loads a page with an applet, and the page does not display properly. (Some buttons are missing.) The applet to which the setMol() statement refers loads and works just fine. The relevant code is:

When I go to the same page with Safari 5.0.6 on Mac OS 10.5.8, I do not see the error, and the page loads just fine.

Why would different OSs give different behavior with regard to the setMol() function?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic