This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Problem while Invoking Applet's method from javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Problem while Invoking Applet Watch "Problem while Invoking Applet New topic
Author

Problem while Invoking Applet's method from javascript

Venkata Ramana
Greenhorn

Joined: Feb 14, 2002
Posts: 17
I am calling Applet's public method from javascript. In the method in applet which is called from javascript displays a dialog box(for eg. JColorChooser). After showing the dialog box browser hangs up.
I am able to call Applets methods from javascript when i open the page using InternetExplorer(for this I used the Object tag in the html file).If i use Netscape Navigator i am not able to invoke applet's method from javascript.
The Sample code which i writen is as follows.
The Applet class has the code:


Html File to load the applet has the following code:

 
 
subject: Problem while Invoking Applet's method from javascript
 
Similar Threads
Calling the repaint() method
problem of applet in Netscape 6.2 while usinf JSObject
prolem while calling javascript method from applet in Netscape6.2
Problem while Invoking Applet's method from javascript
problem of JSObject in Netscape6.2