alert confirm delete javascript code example
Example: How to show confirm message before delete using jquery
<button onclick="return confirm('Are you sure you want to Delete?');"
id="btnDelete">DELETE</button>
<button onclick="return confirm('Are you sure you want to Delete?');"
id="btnDelete">DELETE</button>