Mega Code Archive

 
Categories / JavaScript Tutorial / Window
 

Window alert()

Syntax window.alert(string) The alert() method displays an alert dialog box when invoked. The 'string' is displayed in the box. <html>     <script language="JavaScript">     <!--        alert('Here is an alert dialog box.');     -->     </script> </html>