how to apply a alert message on delete.php file code example
Example 1: are you sure you want to proceed click ok button javascript code
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}
Example 2: quick confirmation window for webapp link php
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>