1、客户端
 <script type="text/javascript" language="javascript">
     function postBackByObject()
        {
           var o = window.event.srcElement;
           if (o.tagName == "INPUT" && o.type == "checkbox")
           {
              __doPostBack("","");
           } 
        } 
  </script>
2、服务器端
        if (!Page.IsPostBack)
        {
            TVMenu.Attributes.Add("onclick", "postBackByObject()");
        }

相关文章:

  • 2021-11-11
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
  • 2022-02-03
  • 2021-10-22
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案