Skip to content

Dom.Confirm

boxgaming edited this page Sep 25, 2023 · 2 revisions

Instructs the browser to display a dialog with an optional message, and to wait until the user either confirms or cancels the dialog.

Syntax

result = Dom.Confirm (message$)

Parameters

  • The message$ parameter specifies the text to display in the dialog.

Returns

A boolean indicating whether OK (-1) or Cancel (0) was selected.

See Also

Window.confirm
Dom.Alert
Dom.Prompt

Clone this wiki locally