confirmation text before delete record code example
Example 1: comfirm before delete
<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete</a>
Example 2: How to show confirm message before delete using jquery
<button onclick="return confirm('Are you sure you want to Delete?');"
id="btnDelete">DELETE</button>