Answers for "javascript confirm delete"

2

confirm on delete

<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
Posted by: Guest on February-08-2021
1

comfirm before delete

<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete</a>
Posted by: Guest on May-14-2020
0

How to show confirm message before delete using jquery

<button onclick="return confirm('Are you sure you want to Delete?');" 
id="btnDelete">DELETE</button>
Posted by: Guest on May-07-2020
1

javascript confirm delete

var result = confirm("Want to delete?");
if (result) {
    //Logic to delete the item
}
Posted by: Guest on October-16-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language