$("#element").keyup(function(event){ if(event.keyCode == 13) someAction('param'); } });
Pro tip: use ```triple backticks around text``` to write in code fences