addValue (framework applet)

Syntax

void addValue(String key, String value) 

Description

The addValue method is used to store general information. value is the information to store; key is its name.

Examples

<SCRIPT Language="JavaScript">
function addvalue(key, value)
{
    document.applets[0].addValue(key, value);
}
</SCRIPT>

Defines a function that allows you to store arbitrary information within the framework applet.

Note that the framework applet must be present in the same web page as the addvalue method.

Related topics
  • Framework applet
  • removeValue (framework applet)
  • getValue (framework applet)