Dom.Confirm - boxgaming/qbjs GitHub Wiki

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