Response.Write("<script> alert('恭喜 clientuser1注册成功!!!\\r\\n正在跳转到登录界面......');window.location.href='登录.aspx'; </script> ");

注意红色部分,要转义后才可以,不能是\r\n

Response.Write的alert换行问题

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-09
  • 2021-08-16
  • 2021-12-13
  • 2021-12-20
  • 2022-12-23
猜你喜欢
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
相关资源
相似解决方案