html anchor tag are you sure you want to delete code example
Example: a href confirm javascript
<a href="delete.php?id=22" onclick="return confirm('Are you sure?')">Link</a>
<a href="delete.php?id=22" onclick="return confirm('Are you sure?')">Link</a>