my dog learned polymorphism
The moose likes Applets and the fly likes Applet not finding its method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet not finding its method " Watch "Applet not finding its method " New topic

Applet not finding its method

addy sharma

Joined: Apr 17, 2011
Posts: 16

i am calling a method of my applet from within the javascript. My code works fine with all browsers except CHROME.

i get this exception in browser = "Uncaught TypeError: Object #<HTMLObjectElement> has no method 'loadComplete' mainControl.js:6".

i called this method on the "onload" of <body> tag.

java is best because i can even drink it.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
This is not supported in Chrome. See comments 69 and 73 on
I agree. Here's the link:
subject: Applet not finding its method
It's not a secret anymore!