![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 treebird ![]()
![]() |
當註冊完成時要show出成功訊息然後轉入主頁面 在這裡我是這樣寫的(如下) 但是他卻直接轉入頁面而沒有show出訊息 請問這裡應該怎麼改才會先show出訊息然後點確定後轉入頁面 先謝謝回答的大大們 ^^ Dim strScript As New StringBuilder strScript.Append("<script>") strScript.Append("alert('" + "註冊完成,將轉入首頁" + "');") strScript.Append("</script>") Me.Response.Write(strScript.ToString) Me.Response.Redirect("MAIN.aspx") '轉入主頁面
本篇文章發表於2004-11-02 16:52
|
1樓
最有價值解答
shally ![]() ![]() |
Dim strScript As New StringBuilder
strScript.Append("<script javascript>") strScript.Append("alert('" + "註冊完成,將轉入首頁" + "');") strScript.Append("window.location.href('MAIN.aspx');") strScript.Append("</s" + "cript>") Me.Response.Write(strScript.ToString)
本篇文章回覆於2004-11-02 20:11
== 簽名檔 ==
--未登入的會員無法查看對方簽名檔-- |
回覆 |
如要回應,請先登入. |