jquery disable enter key submit
snippet in javascript

jquery disable enter key submit

user9110

$(document).on('keyup keypress', 'input', function(e) {
  if(e.which == 13) {
    e.preventDefault();
    return false;
  }
});