input

window.input() 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.

Examples

window.input(Text, Placeholder)
window.input("What is your name?", "My name is ...")

Last updated