(Browser Object Model)
The window.alert() method displays an alert dialog with the optional specified content and an OK button.
The window.confirm(message) method displays a modal dialog with an optional message and two buttons, OK and Cancel.
The window.prompt(text, value) displays a dialog with an optional message prompting the user to input some text.