当前位置: 代码迷 >> ASP.NET >> 任何客户端事件都不能触发了,完蛋了,该怎么解决
  详细解决方案

任何客户端事件都不能触发了,完蛋了,该怎么解决

热度:1022   发布时间:2013-02-25 00:00:00.0
任何客户端事件都不能触发了,完蛋了
不知道怎么搞的我建的web程序都不能触发客户端事件了
<head   runat= "server ">
        <title> 无标题页 </title>
        <script   type= "text/javascript ">
          function   click()
          {
                window.alert( "kaka ");
          }
        </script>
</head>
<body>
        <form   id= "form1 "   runat= "server ">
        <div>
                <input   id= "Button1 "   type= "button "   value= "button "     onclick= "click() "   />
        </div>
        </form>
</body>
</html>
就这个都不能触发客户端事件,郁闷了

------解决方案--------------------------------------------------------
不要用click做函数名,换其他的
  相关解决方案