I'm trying to get KeyPress Event for TextBox in ASP.NET, so I found this script, but it does not works for me
<title></title>
<script src="jquery.js" type="text/javascript"></script>
<script type="text/javascript" lang="js">
$(function () {
$("#<%=TextBox1.ClientID %>").keypress(function () {
alert("Wow; Its Work!.")
});
});
</script>
</head>