The simple-confirm jQuery plugin adds a confirm dialog to links (or other elements). A dialog will be prompted to the user to confirm the link action. This might be useful for deleting items. To use the simple-confirm pulgin, you might have a link like this:
<a href="delete.php" class="confirm" title="Do you want to delete?">Delete</a>
To add the confirm dialog you need the simple-confirm plugin
<script type="text/javascript" src="js/simple-confirm-0.1.js"></script>
and use it:
<script type="text/javascript">
$(document).ready(function() {
$("a.confirm").confirm();
});
</script>