I am calling a function whenever someone press enter in the textarea. Now I want to disable new line or break when ent
textarea
new line
break
$(".Post_Description_Text").keypress(function(event) { if (event.which == 13) { alert("Function is Called on Enter"); event.preventDefault(); //Add this line to your code } });