javascript are you sure you want to delete code example
Example 1: comfirm before delete
<a href="#" title="delete" class="delete" onclick="return confirm('Are you sure you want to delete this item')">Delete</a>
Example 2: quick confirmation window for webapp link php
<a href="url_to_delete" onclick="return confirm('Are you sure you want to delete this item?');">Delete</a>