Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.