SP.PageContextInfo.pageListId Property

Applies to: SharePoint Foundation 2010

Gets the ID of the list that is associated with the page context.

var value = SP.PageContextInfo.get_pageListId(); 

Property Value

Type: String

The ID that identifies the list.

Applies To

SP.PageContextInfo Class

See Also

Reference

SP.PageContextInfo Methods

SP.PageContextInfo Properties

SP Namespace