<SCRIPT LANGUAGE="JavaScript">
function Del(mypage) {
//alert('url : '+mypage);
var agree=confirm("Are you SURE you want to completely delete this record?");
if (agree){
alert('url : '+mypage);
window.location=mypage;
}
}
</SCRIPT>
<a href="page.asp?go=delete&id=123" onclick="Del(this.href);return false;">Delete</a>