catch keyup event when clicking on enter
$("#element").keyup(function(event){
    if(event.keyCode == 13)
        someAction('param');
    }
});
by Valeri Tandilashvili
4 years ago
jQuery
1
Pro tip: use ```triple backticks around text``` to write in code fences