Look at my code, if you used chrome, you will notice that the preventDefault doesn't work when I press the Enter Key, but works in firefox and safari, why?
var fighting_textarea=$('#fighting');
fighting_textarea.on( "keydown", function( event ) {
if ( event.which == 13 ) {
event.preventDefault();
alert('hello');
}
});//click
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<textarea id="fighting"> </textarea>