Sunday, April 28, 2013

javascript error : Microsoft JScript runtime error: Member not found.


Microsoft JScript runtime error: Member not found.

When I put a button as well as a javascript function on a page with same name “aa”, I got this error.

<script type="text/javascript">
        function aa() {
            alert("asd");
        }    
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
   
    </div>
    <asp:Button ID="aa" runat="server" OnClientClick="aa();"/>

No comments:

Post a Comment