最近碰到个问题,平常在aspx页面中使用alert后,页面上的css就失效了

查了下网络,用以下语法即可避免css失效

            this.RegisterClientScriptBlock("js", "<script>alert('搜藏完毕')</script>");

相关文章:

  • 2021-05-27
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-09
猜你喜欢
  • 2021-11-03
  • 2021-11-06
  • 2021-09-05
  • 2022-12-23
  • 2021-08-29
  • 2021-10-01
相关资源
相似解决方案