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