Copier le code du code comme suit:
<!
<html>
<adal>
<meta charset = "utf-8">
<meta name = "auteur" content = "// www.vevb.com /" />
<Title> Wulin.com </TITME>
<script type = "text / javascript">
Window.onload = function () ()
{{
var olink = document.getElementById ("lien");
Olink.onclight = ftection () ()
{{
if (confirmer ("si supprimé?") {alert ("Les fichiers ont été supprimés");}
Retourne false;
}
}
</cript>
</ head>
<body>
<a href = "#" id = "link"> s'il faut supprimer </a>
</docy>
</html>
Le code ci-dessus implémente nos exigences.