File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Calling javascript function from applet: Not Working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Calling javascript function from applet: Not Working" Watch "Calling javascript function from applet: Not Working" New topic
Author

Calling javascript function from applet: Not Working

Sandeep Panda
Greenhorn

Joined: Nov 07, 2011
Posts: 8

I want the applet to download a webpage which is provided through a parameter and post the content to a javascript function. To call javascript I am using AppletContext.showdocument(). For this I started a new thread and it was supposed to pass the contents of the webpage to a javascript method. But I am not able to get it working.

Please have a look at the code.



Any help will be highly appreciated.

Thanks!
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19553
    
  10

Okay, so that's the code. But "not working"? What does that mean? Please read our FAQ pages TellTheDetails and ItDoesntWorkIsUseless, and then post some more information for us.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling javascript function from applet: Not Working