Sets a value in the current smartlet's JSon object to return, when mode=Ajax.

Syntax

Smartsite SXML CopyCode image Copy Code
smartlet.set(string name, any value)

Parameters

Name Data Type Description
name String The name.
value Any The value.

Return Value

None.
SXML