• Post Reply Bookmark Topic Watch Topic
  • New Topic

Assign javascript variable to a java variable  RSS feed

 
chris gar
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I assign the value of a javascript var to a java String.

I've seen posts on how to do the opposite but not the way I need.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66154
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't. The only way to get Javascript data back to the server is to submit it via a request.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!