METHOD:
Window::alert
window.alert("message")
This method
is used to display an alert box containing a message and an o.k. button.
Use this method to convey a message that does not require a decision
from the user.
Code:
window.alert("Welcome to DevGuru.com")
Output:
 |