Нажмите на подсказки «ОК» и «Отменить»
onclick = '{if (inform ("Вы обязательно удалите? Эта операция не будет восстановлена!")) {returntrue;} returnfalse;}'
DELETE .LDB Файл
<%
Application.contents.removeall ()
%>
Преобразовать HTML в формат простого текста
<%
FunctionRemovehtml (strhtml)
Dimobjregexp, Match, Matches
Setobjregexp = newRegexp
objregexp.ignorecase = true
objregexp.global = true
'Выберите закрытый <>
objregexp.pattern = "<.+?>"
'Сделайте матч
Setmatches = objregexp.execute (strhtml)
'Путешествие по соответствующей коллекции и замените соответствующие предметы
Foreachmatchinmatches
strhtml = replace (strhtml, match.value, "")
Следующий
Removehtml = strhtml
Setobjregexp = ничего
Конечная функция
%>
Вызов
<%= RemoveHtml (ваше поле)%>
25. Текущий адрес страницы
<%
response.write "http: //" & request.servervariables ("server_name") & request.servervariables ("script_name")
%>