Adds a script block to the 'javascriptonload' placeholder.
Syntax
Smartsite SXML | Copy Code |
---|---|
placeholder.addjavascriptonload(string scriptBlock) placeholder.addjavascriptonload(string scriptBlock, integer priority) |
Parameters
Name | Data Type | Description |
---|---|---|
scriptBlock | String | The script block. |
priority | Integer | Priority for sorting the results. |
Return Value
None.