View Code
1 Response.Write("<script language=\"javascript\">alert('存檔成功!')</script>");
2
3 string strScript = "<script language=\"javascript\">window.location.href(\'tacr_upd.aspx?P_NO=" + log.P_NO + "&P_YEAR=" + log.P_YEAR + "\')</script>";
4 Response.Write(strScript);

 

要等彈出窗口顯示信息後,点击确定再跳轉到其他頁面

點擊確定後再跳到“tacr_upd.aspx?P_NO=12&P_YEAR=2009 ”這個頁面上去,重點是記得用window.location.href()這個方法。

 

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-11-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-23
  • 2022-12-23
  • 2021-07-01
  • 2021-08-30
相关资源
相似解决方案