To attach key up event to a html element, keyup()
method can be used.
<script>
$("#txtKeyPress").keyup(function () {
$("#div3").append(" | key UP event fired");
});
</script>
In the above code when user leave the key in the “txtKeyPress” textbox then “ | key UP event fired” is be appended in the “div3” element.
More key related events are
Views: 4614 | Post Order: 75