Share via


SP.Ribbon.PageState.Handlers.onOkButton(e) Method

Applies to: SharePoint Foundation 2010

Handles the "OK" button click event in a modal dialog when the page state changes.

SP.Ribbon.PageState.Handlers.onOkButton(e);

Parameters

e

Type: DomEvent

A Document Object Model (DOM) element event. This parameter is ignored.

Remarks

This method closes the opened dialog with the dialog return value representing "OK".

Applies To

SP.Ribbon.PageState.Handlers Class

See Also

Reference

SP.Ribbon.PageState.Handlers Methods

SP.Ribbon.PageState Namespace