Can anyone explain to me what this error means? I would appreciate it a lot for any kindof help with this.
xdazz explained the issue well.
You can use a native submit method of HTMLFormElement to work around a problem:
HTMLFormElement.prototype.submit.call($('#form')[0]);