showModal

The showModal JS HTMLDialogElement displays the dialog element and makes it the top-most modal dialog.

Syntax

dialog.showModal()

Examples

1

2

close

open

returnValue

show

Web Hypertext Application Technology Working Group (WHATWG)

Home Menu