Response.Redirect问题(散分)
我想先显示
Response.Write( " <script> alert( '创建成功! ') </script> ");
然后再转向另一页(我不想用 "Server.transfer ")
Response.Redirect( "xxx.aspx ");
但对话框却无法显示??怎样解决?
[解决办法]
Response.write( " <script language=javascript> alert( '创建成功! ');window.location.href= 'xxx.aspx '; </script> ")
[解决办法]
Response.Write( " <script> alert( '创建成功! ');window.location= 'xxx.aspx '; </script> ");