Netscape 3, Internet Explorer 4
public void setMember(String name, Object value)
name
The name of the property to be set in the JSObject.
value
The value to which the named property should be set.
The setMember( ) method of the Java JSObject class sets the value of a named property of a JavaScript object from Java. The specified value may be any Java Object. Primitive Java values may not be passed to this method. In JavaScript, the specified value is accessible as a JavaObject object.