1 <a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
2
1<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete</a>
1<button onclick="return confirm('Are you sure you want to Delete?');"
2id="btnDelete">DELETE</button>
1var result = confirm("Want to delete?");
2if (result) {
3 //Logic to delete the item
4}
5