Converts a value to its javascript representation, quoted if needed.

Syntax

Smartsite SXML CopyCode image Copy Code
string scf.tojavascript(any data)

Parameters

Name Data Type Description
data Any The data.

Return Value

Data Type Description
String String
SXML