Assign

in

The assign element assigns a value to a predefined variable. The name attribute specifies the available variable name within the current scope. The exp attribute indicates an ECMAScript expression to be evaluated, the results of which are assigned to the named variable. The exp defines the new value of the variable in question. The variable specified by the “name” attribute in the <assign> tag should be declared in a <var> tag first. If the value is a string, you must enclose it in single quotation marks.

Related links