|
|
Q4047 How do we exchange data between Java and JavaScript and vice-versa?
irt.org | Knowledge Base | Java | Q4047 [ previous next ] Q4047 How do we exchange data between Java and JavaScript and vice-versa?Public variable and methods of Java Applet are visible to a HTML document. So using JavaScript you can access the public variables and public functions. The syntax is:
With this you will get the value of the variable variable_name in your JavaScript variable some_var. Feedback on 'Q4047 How do we exchange data between Java and JavaScript and vice-versa?' |
-- div -->
|