Dom.Prompt - boxgaming/qbjs GitHub Wiki
Instructs the browser to display a dialog with an optional message prompting the user to input some text, and to wait until the user either submits the text or cancels the dialog.
Syntax
result = Dom.Prompt ([message$] [, defaultValue])
Parameters
- The optional message$ parameter specifies the text to display in the dialog.
- The optional defaultValue parameter specifies the text to display in the text input field.
Returns
A string containing the text entered by the user.