In case we want to alert the user with some information,
method/function can be used.
<script> alert("I am alert."); </script>
Above code snippet shall give “I am alert” alert to the user as displayed in the picture below.
If you want alert messages to display in multiple line, you can separate the messages with “\n”.Views: 2407 | Post Order: 4