alert() displays the alert box containing message with ok button.
Ex:-
<html>
<head>
<script type="text/javascript">
function call()
{
alert("Alert Box");
}
</script>
</head>
<body>
<input type="button" value="Alert Box" onclick="call()"/>
</body>
</html>
No comments:
Post a Comment