SP.UI.Dialog.close(dialogResult) Method
Applies to: SharePoint Foundation 2010
Closes the dialog with the specified dialog result.
SP.UI.Dialog.close(dialogResult);
Parameters
dialogResult
Type: SP.UI.DialogResult
The result of the dialog.
Remarks
This method closes the dialog and releases the resources used by the dialog.