Pass string parameter to alert dialog box : Dialog « Window Browser « JavaScript DHTML
- JavaScript DHTML
- Window Browser
- Dialog
Pass string parameter to alert dialog box
<html>
<head>
<title>A Simple Page</title>
<script language="javascript">
var msg1 = "Hello there", num1 = 22;
alert(msg1);
</script>
</head>
<body>
</body>
</html>
Related examples in the same category