Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

TypeError: 'undefined' is not a function

 
Bob Grossman
Ranch Hand
Posts: 78
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic