Can java applets pass data to javascript asynchronously without ajax (or is all the data contained in an applet server-side, so that javascript cannot see it)?
+1
A:
Truly it is possible. Check the following two chapters of the Sun Applet tutorial:
- Invoking JavaScript Code From an Applet (this describes what you want)
- Invoking Applet Methods From JavaScript Code (this describes the other way round)
BalusC
2010-06-08 13:35:10
This is great...saves me the headache of having many ajax calls going back and forth. Thanks!
hhj
2010-06-08 13:41:47