The moose likes Applets and the fly likes Applet vs 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 "Applet vs JavaScript" Watch "Applet vs JavaScript" New topic

Applet vs JavaScript

Yehor Mikhaylov

Joined: Dec 14, 2001
Posts: 17
Hello All.
I'm writimg a chat applet and it's interesting to me: is it possible to call javascript function from the applet, or to call applet's method from javascript function?
If you know how to do it, or what api responsible for this please tell me.
Manfred Leonhardt
Ranch Hand

Joined: Jan 09, 2001
Posts: 1492
Hi Yehor,
The following link can help you with the applet to javascript issue.
Yehor Mikhaylov

Joined: Dec 14, 2001
Posts: 17
Thank you Manfred.
I used JSObject from netscape.
Cool!!! Applet can call js functions and js can call java methods.
I agree. Here's the link: http://aspose.com/file-tools
subject: Applet vs JavaScript
Similar Threads
Calling Javascript function from Java Code
html to applet
How can I pass Javascript array object to child window
Calling .js file from Java
Applet load dll throw permission exception : access denied