Confirm() Method

The confirm() method displays a dialog box with a specified message, along with an OK and a Cancel button. A confirm box is often used if you want the user to verify or accept something.



Example: 1

Example: 2

Example: 3

Leave a Reply

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