ScriptManagerHelper..::..GenerateJavascriptInclude Method
Note: This API is now obsolete.
Assembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Generates the javascript include.
var {varibleName}= document.createElement('script'); {varibleName}.src = '{url}'; document.getElementsByTagName('head')[0].appendChild({varibleName});
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
[ObsoleteAttribute] public static string GenerateJavascriptInclude( string url, string variableName, bool includeScriptTags )
Parameters
- url
- Type: String
The URL.
- variableName
- Type: String
Name of the variable.
- includeScriptTags
- Type: Boolean
if set to true [include script tags].

