A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JS variable to JAVA
Joined: Dec 02, 2000
Sep 12, 2005 15:03:00
Can we assign a JS variable value to a
variable in a JS.? If so how?
Thx in advance
Author and ninkuma
Joined: Jan 10, 2002
Sep 12, 2005 15:06:00
Short answer: no.
The brevity of your question makes a longer answer impossible.
Asking smart questions
Books by Bear
Joined: Nov 08, 2001
Sep 12, 2005 15:18:00
Either posting back a form with the value in a hidden form element OR ajax.
Joined: Mar 22, 2005
Sep 12, 2005 16:16:00
If your Java code runs on the server (
): no, modulo the workarounds suggested by Eric.
If your Java code runs on the client (
): yes, but it depends.
I agree with Bear that a longer, more nuanced, answer is not possible due to lack of information.
Ping & DNS, my free Android app for network diagnostics
I agree. Here's the link:
subject: JS variable to JAVA
woohoo im now brainbench certified in jasvascript
Assigining java variable to java script variable
How to access the request variable in the java script?
Calling Java Class method from JS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013