- Function MsgBox(error,n)
- Copyright = "/n/n Copyright by "
- Response.write "<script>alert('" & Replace(error,"'","/'") & Copyright & "');" & vbcrlf
- If Vartype(n) = 2 then
- If n = 1 then Response.write "history.go(-1);" & vbcrlf
- If n = 3 then Response.write "parent.top.location.reload();" & vbcrlf
- If n=4 or n=5 then Response.write "opener.location.reload();" & vbcrlf
- If n=2 or n=5 then Response.write "window.close();" & vbcrlf
- else
- Response.write "window.location.href='" & n & "';" & vbcrlf
- end if
- response.write " </script>"
- End Function
asp 彈出窗口腳本函數
asp 彈出窗口腳本函數
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.