Alert() Method

The alert() method displays an alert box with a specified message and an OK button. An alert box is often used if you want to make sure information comes through to the user.

Example: 1

Example: 2

Example: 3

Leave a Reply

Your email address will not be published. Required fields are marked *