What is the alert method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the alert method?
Rating:
The alert method belongs to the window object. It is used to interact with the users to warn about the errors caused by them. The alert method can also be used to check the output of a program.
The following image displays the alert dialog box:

The syntax for using the alert method is as follows:
Rating:
Was this information helpful?
Other articles
- What is the italics method?
- What is concatenation?
- What is a request object?
- What is a custom object?
- What is the fixed method?