SP.PageContextInfo.pageItemId Property

Applies to: SharePoint Foundation 2010

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

var value = SP.PageContextInfo.get_pageItemId(); 

Property Value

Type: Int32

The ID of the item.

Applies To

SP.PageContextInfo Class

See Also

Reference

SP.PageContextInfo Methods

SP.PageContextInfo Properties

SP Namespace