File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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:
subject: Applet vs JavaScript
It's not a secret anymore!