Die Codekopie lautet wie folgt:
<! DocType html public "-// w3c // dtd xhtml 1.0 transitional // en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transsitional.dtd">
<html xmlns = "http://www.w3.org/1999/xhtml">
<kopf>
<meta http-äquiv = "content-type" content = "text /html; charset = utf-8" />
<titels> Bestätigen Sie, ob </title> löschen soll
<script type = "text/javaScript">
Funktion del () {
if (! bestätigen ("Bestätigen Sie zu löschen?")) {
window.event.returnValue = false;
}
}
</script>
</head>
<body>
<a href = "http://www.baidu.com" onclick = "return del ()"> delete </a>
</body>
</html>