刪除記錄時彈出確認框: script LANGUAGE="VBSCRIPT"> a=msgbox("真的要刪除該記錄嗎?",1,"注意") if a=1 then location="Dodelete.asp?id=%=id%>" //指向執(zhí)行刪除的頁面Dodelete.asp else history.go(-1) end if /script>
關閉打開的窗口 a href="/" onclick="javascript:window.close(); return false;">關閉窗口/a>
function HighlightAll(theField) { var tempval=eval("document."+theField) tempval.focus() tempval.select() if (document.allcopytoclip==1){ therange=tempval.createTextRange() therange.execCommand("Copy") window.status="Contents highlighted and copied to clipboard!" setTimeout("window.status=''",1800) } } //--> /SCRIPT>