프롬프트 "OK"및 "취소"프롬프트 상자를 클릭하십시오
onclick = '{if (확인 ( "삭제해야합니까?이 작업이 복원되지 않습니다!")) {returntrue;} returnfalse;}'
.ldb 파일을 삭제합니다
<%
application.contents.removeall ()
%>
HTML을 일반 텍스트 형식으로 변환하십시오
<%
functionremovehtml (strhtml)
Dimobjregexp, 일치, 경기
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.servariables ( "script_name")
%>