Since you are already using JavaScript, why don't you use it to handle the page redirect as well and remove the link altogether?
Code:
<input type="button" value="Delete" onclick="confimDelete()" />
Code:
<script type="text/javascript">
<!--
function confirmDelete() {
var vReply = confirm("This item will be deleted. Continue?")
if (vReply){
window.location = "page-to-handle-delete.html";
}
else{
// If needed, you can take action here when the Cancel button is clicked...
// alert("Your item was NOT deleted.")
}
}
//-->
</script>
Bookmarks