This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaScript to Applet  RSS feed

 
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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!