How-to-show-a-confirm-message-before-delete
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}
Silly Snake
var result = confirm("Want to delete?");
if (result) {
//Logic to delete the item
}