Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

LiveConnect Reference

This section documents the Java classes used for LiveConnect, along with their constructors and methods.

JavaScript-to-Java

These classes allow a Java object to access JavaScript code.

JSException
The public class JSException extends RuntimeException, and is thrown when JavaScript returns an error.
JSObject
The public class JSObject extends Object. JavaScript objects are wrapped in an instance of the class JSObject and passed to Java, allowing Java to manipulate JavaScript objects.

Java-to-JavaScript

Document Tags and Contributors

 Contributors to this page: fscholz, Nickolay, Sevenspade, Mgjbot, Hamstersoup, Ptak82, Dria
 Last updated by: fscholz,