The prompt() method displays a dialog box that prompts the visitor for input.
The text to display in the dialog box.
Optional
The default text to display in the input box. Optional.
The options for the dialog box.
The prompt() method displays a dialog box that prompts the visitor for input.