SyntaxFix
Write A Post
Hire A Developer
Questions
This works for me!
$("#your_textarea").on('keydown', function(e){ if(e.keyCode === 13 && !e.shiftKey) { $('form').submit(); } });