Jquery Key Press Event On Textarea
My html code for textarea is as below. Copy
PS: don't listen event in document.
Solution 2:
Try this one
$("#txtContent").on("keydown", function(e){
if(e.which == 13){
$('#lnkSaveWSR').focus().click();
return false;
}
});
$('#lnkSaveWSR').on("click",function(e){
alert('a');
});
Post a Comment for "Jquery Key Press Event On Textarea"