SP.Ribbon.PageState.PageStateHandler.getButtonId(pageStateCommand) Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Gets the button ID of the Server ribbon corresponding to the specified page state command.
var value = SP.Ribbon.PageState.PageStateHandler.getButtonId(pageStateCommand);
Parameters
pageStateCommand
Type: string
The specified page state command.
Return Value
Type: string
The button ID of the Server ribbon corresponding to the specified page state command.
Remarks
This method returns the button ID of the Server ribbon corresponding to the page state command specified by the pageStateCommand parameter.
Applies To
SP.Ribbon.PageState.PageStateHandler Class
See Also
Reference
SP.Ribbon.PageState.PageStateHandler Events
SP.Ribbon.PageState.PageStateHandler Fields