Table of Contents
accept Method 

Closes the dialog as if AcceptButton is clicked.

Syntax
JavaScript
 Dialog.accept()
See Also