This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet vs JavaScript" Watch "Applet vs JavaScript" New topic
Author

Applet vs JavaScript

Yehor Mikhaylov
Greenhorn

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.
http://www.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=23&t=000440
Regards,
Manfred.
Yehor Mikhaylov
Greenhorn

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