confirm on delete javascript code example
Example: confirm on delete
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>