SP.Ribbon.PageState.Handlers.isInEditMode() Method
Applies to: SharePoint Foundation 2010
In this article
Return Value
Remarks
Applies To
Determines whether the page is currently being edited.
var value = SP.Ribbon.PageState.Handlers.isInEditMode();
Return Value
Type: Boolean
true if the page is in edit mode; otherwise; false.
Remarks
This method determines whether the page is in edit mode.
Applies To
SP.Ribbon.PageState.Handlers Class