<html>
<head>
<script type="text/javascript">
function show_alert()
{
return confirm("Are you sure?");
}
</script>
</head>
<body>
<h1>js-confirm.html</h1>
<a href="js-confirm2.html" onclick="return show_alert()">Delete</a><br /><br />
</body>
</html>
|