Using keyup in jquery
To call a method after key has been released
after being pressed we can use keyup
method. This method will be called after releasing the key.
<input type="text" id="txtName" />
<script type="text/javascript">
$(function () {
$("#txtName").keyup(function () {
alert("keyup event has fired");
});
});
</script>
Comments
Post a Comment