This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
This feature has been removed. Please fix your Web sites and applications.
This method was removed in Chrome 43 and Firefox 56.
created and displayed a modal dialog box containing a specified HTML document.
returnVal = window.showModalDialog(uri[, arguments][, options]);
returnValueproperty as set by the document specified by
uriis the URL of the document to display in the dialog.
argumentsis an optional variant containing values passed to the dialog; these are made available in the
optionsis an optional string specifying window ornamentation for the dialog, using one or more semicolon delimited values:
||The height of the dialog box in pixels.|
||Distance of the dialog box from the left edge of the desktop.|
||The width of the dialog box in pixels.|
||Distance of the dialog box from the top edge of the desktop.|
||If this argument's value is
Note:Firefox does not implement the
showModalDialog() was briefly standardized as part of HTML5. The third
argument for additional options was not present in the HTML5 version.
BCD tables only load in the browser