This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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

Win a copy of The Software Craftsman this week in the Agile forum!
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: 42954
This is not supported in Chrome. See comments 69 and 73 on
I agree. Here's the link:
subject: Applet not finding its method