SP.UserCustomAction.scriptSrc Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Gets or sets a value that specifies the URI of a file which contains the ECMAScript to execute on the page
var value = SP.UserCustomAction.get_scriptSrc();
SP.UserCustomAction.set_scriptSrc(value);
Property Value
Type: String
Applies To
It must be null, or a server-relative URL. . It must be null if Location is not "ScriptLink"." This Standard defines the ECMAScript scripting language