954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Pass value from javascript to java

hi all

i have a very urgent issue

i am calling a javascript file from a java file.
i need to return a value from the javascipt to the calling java file.
Note: the java is a non-servlet java
kindly share your ideas with me

komathi
Newbie Poster
2 posts since Oct 2007
Reputation Points: 10
Solved Threads: 0
 

JavaScript can't do anything to send the value back. It runs on the client's computer.

So JavaScript must put the value in a field that your server-side script also uses.

MidiMagic
Nearly a Senior Poster
3,319 posts since Jan 2007
Reputation Points: 730
Solved Threads: 182
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You