0

this code i have copied from here Stack OverFlow it is not working in my application BUT IT IS WORKING IN jsfiddle. It is not performing any action in Application.

<textarea name="comment_text" id="comment_text"  class="Post_Description_Text"></textarea>

$(".Post_Description_Text").keydown(function(e){
     if (e.keyCode == 13 && !e.shiftKey){ 
          e.preventDefault();return false;
     }   
});
Community
  • 1
  • 1
Zala Krunal
  • 315
  • 1
  • 3
  • 17

0 Answers0