All Objects
Event Object
Form
Reset
Submit
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")
If you wish to have the text appear on more than one line, you use the
\n
as a line break.
window.alert("Welcome to\nDevGuru.com")
Output:
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information