ASP判斷導向
頁首用on error resume next
修改的語句后用
if err.number=0 then
response.Write("<script>alert('提交成功');window.location.replace('***.asp');</script>")
else
response.Write("<script>alert('意外的錯誤,請重試');window.history.back();</script>")
end if
posted on 2006-12-27 02:49 Tom 閱讀(179) 評論(0) 編輯 收藏 所屬分類: Asp