inline konfirmasi kotak javascript

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

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