Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information