前台JS

<script type="text/javascript">
     function Clear()
     {
         setTimeout(function(){document.getElementById('<%=lblAddRess.ClientID%>').innerText='';}, 10000);
         return 0;
      }
    </script>

后台

 if (!IsPostBack)
        {
             this.RegisterStartupScript("clear", "<script>Clear();</script>");

        }

相关文章:

  • 2021-07-25
  • 2021-05-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2021-08-06
猜你喜欢
  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-01-21
  • 2021-07-04
相关资源
相似解决方案