Menu Home

alert

osbo.com | JS | alert

alert displays a prompt with a message and an OK and waits for the user to respond.

Syntax

window.alert(message)

Examples

empty

message

Internal

confirm

prompt

External

Web Hypertext Application Technology Working Group (WHATWG)