URL Confirm Box Javascript

Here is how to do a confirm box just in case you forget it

<span>
<a href="delete.php" <strong>OnClick</strong> OnClick="return confirm(\'Are you sure you want to delete?\');"> delete everything </a>
</span>