Use alert dialog box to display the content of an array : alert dialog « Dialogs « JavaScript Tutorial






<html>
<head>
<title>A Simple Page</title>
<script language="javascript">
<!--
var days_of_week = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
alert(days_of_week);
//  -->
</script>
</head>
<body>

</body>
</html>








13.1.alert dialog
13.1.1.Using alert Boxes
13.1.2.Use alert dialog box to display the content of an array
13.1.3.Start a new line in alert box in IE
13.1.4.Add quotation marks to alert box
13.1.5.Add a tab to alert box (IE)
13.1.6.Calcualtion in alert dialog