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 item that is associated with the page context.
var value = SP.PageContextInfo.get_pageItemId();
Property Value
Type: Int32
The ID of the item.