<a href="/" id="aaa">Delete</a>
//jquery code
$(document).on('click', '#aaa', function(){
var result = confirm('Do you want to perform this action?');
if(!result){
return false;
}
})
// Confirmation Message On Delete Button.
$('.close').click(function() {
return confirm('Are You Sure ?')
});
<button onclick="return confirm('Are you sure you want to Delete?');"
id="btnDelete">DELETE</button>