- How do I make a confirmation pop up in HTML?
- How to display confirm dialog box in javascript?
- What is the purpose of providing a confirmation message before deleting or modifying a record?
How do I make a confirmation pop up in HTML?
The confirm() method displays a dialog box with a message, an OK button, and a Cancel button. The confirm() method returns true if the user clicked "OK", otherwise false .
How to display confirm dialog box in javascript?
The confirm() method is used to display a dialog box with an optional message and two buttons, OK and Cancel. It returns true if the user clicks “OK”, and false otherwise. It prevents the user from accessing other parts of the page until the box is closed.
What is the purpose of providing a confirmation message before deleting or modifying a record?
To allow users a second chance to check their work before proceeding with a dangerous action.