1.確認後關閉視窗 , 常用於子視窗 !
1 |
<span style="color: #606060" id="lnum1"> 1:</span> Response.Write(<span style="color: #006080">"<script >alert('更新成功!');window.close();</script>"</span>); |
2.確認後轉頁
1 |
<span style="color: #606060" id="lnum1"> 1:</span> Response.Write(<span style="color: #006080">"<script>alert('修改成功!'); location.href='Default.aspx'; </script>"</span>) |
(Visited 31 times, 1 visits today)