Cliquez sur les cases d'invites "OK" et "Annuler"
onClick = '{if (confirm ("êtes-vous sûr de supprimer? Cette opération ne sera pas restaurée!")) {returntrue;} returnfalse;}'
Supprimer le fichier .ldb
<%
Application.contents.removeall ()
%>
Convertir HTML en format de texte brut
<%
FunctionRemovehtml (strhtml)
Dimobjregexp, match, matchs
SetObjregexp = newRegexp
objregexp.ignorecase = true
objregexp.global = true
'Choisissez le fermé <>
objregexp.Pattern = "<. +?>"
'Faire un match
Setmatches = objregexp.execcute (strhtml)
«Voyagez sur la collection correspondante et remplacez les articles correspondants
Foreachmatchinmatches
strhtml = remplacer (strhtml, match.value, "")
Suivant
Supprimerhtml = strhtml
SetObjregexp = rien
Finition de fin
%>
Appel
<% = Supprimerhtml (votre champ)%>
25. Adresse actuelle de la page
<%
réponse.write "http: //" & request.servervariables ("server_name") & request.servervariables ("script_name")
%>