• Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling javascript function from applet: Not Working

 
Sandeep Panda
Greenhorn
Posts: 8
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21981
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!