jquery使用 Form submission canceled because the form is not connected

1.chrome56版本以后修复form提交的bug,form = $('<form></form>')创建好后,要$(document.body).append(form);

然后form.submit();


亲测可用

tags: JavaScript