Inline Confirmar Box JavaScript

onclick="return confirm('Are you sure?')"

<a href="delete.php?id=22" onclick="return confirm('Are you sure?')">Link</a>
CodeGuruDev