My code is:
<body>
<script type="text/javascript">
function change() {
alert("Hello");
}
</script>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Button" OnClick="change"/>
</div>
</form>
</body>
The error I get is: CS1061: 'ASP.webform1_aspx' does not contain a definition for 'change' and no extension method 'change' accepting a first argument of type 'ASP.webform1_aspx' could be found.
What is the problem?