aspx文件

<script type="text/javascript" language="javascript">
<!--
    function yes()
    {
        alert("修改成功");
        location="http://www.baidu.com";
    }
-->
</script>

 

cs文件

Page.RegisterStartupScript("111", "<script>yes();</script>");

相关文章:

  • 2021-07-16
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2021-07-27
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2022-03-02
  • 2021-07-28
  • 2022-12-23
相关资源
相似解决方案