ScriptHelperGetAlertScript Method |
Returns the JavaScript alert message.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static string GetAlertScript(
string message,
bool addScriptTags = true
)
Parameters
- message
- Type: SystemString
Message to display - addScriptTags (Optional)
- Type: SystemBoolean
True to enclose the script block in script and /script tags, otherwise false
Return Value
Type:
StringSee Also