defaults

Function

$().SPServices.defaults

Functionality

Using the defaults object, you can set the defaults for the remainder of the page life. This can be useful if you'd like to make many calls into the library for a single list or site. For a list of the available options, see the source code.

Syntax

$().SPServices.defaults.optionName = value;

Examples

$().SPServices.defaults.webURL = "http://sitecollection/siteA";  // URL of the target Web
$().SPServices.defaults.listName = "Site Parameters";  // Name of the list for list operations

Back to top