SP.ListOperation.Selection.getSelectedList() Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the ID of the list being selected.

var value = SP.ListOperation.Selection.getSelectedList(id);

Return Value

Type: string

The ID of the list being selected.

Remarks

This method gets the ID of the list being selected by the client user.

Applies To

SP.ListOperation.Selection Class

See Also

Reference

SP.ListOperation.Selection Methods

SP.ListOperation Namespace