window.alert()
|
|
Syntax |
|
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>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|