wood burning stoves 2.0*
The moose likes Applets and the fly likes TypeError: 'undefined' is not a function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "TypeError: Watch "TypeError: New topic
Author

TypeError: 'undefined' is not a function

Bob Grossman
Ranch Hand

Joined: Dec 18, 2008
Posts: 69
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TypeError: 'undefined' is not a function