Adds a script block to the 'javascript' placeholder.

Syntax

Smartsite SXML CopyCode image Copy Code
placeholder.addjavascript(string scriptBlock)
placeholder.addjavascript(string scriptBlock, integer priority)

Parameters

Name Data Type Description
scriptBlock String The script block.
priority Integer Priority for sorting the results.

Return Value

None.

Expand image Example

SXML