• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaScript to Applet

 
Raajesh Chandran
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!!
I want to pass String value from Javascript to applet.How should I do it.pls Help me.
Chandran..
 
Amit Dubey
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI..
In the Applet define a Public String.In javascript you can directly get the Applet's name and access that variable.So u can assign your Javascript String value to the Applet String.This solution works for AWT Applet
 
Angela Jessi
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JavaLiveConnect.
Angela
Originally posted by Amit Dubey:
HI..
In the Applet define a Public String.In javascript you can directly get the Applet's name and access that variable.So u can assign your Javascript String value to the Applet String.This solution works for AWT Applet

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!