jQuery's .trigger('submit') drops the submit button, and your backend may be checking for it

· Dev.to