Chrome report form submission error, Form submission canceled because the form is not connected

} Problem Solving Cause The HTML standard stipulates that if the form form is not added to the document, then the form form submission will be terminated. Reference: The Form submission algorithm is non-standard in versions before Chrome 56. Chrome 56 fixes this problem and makes the form submission meet the standard requirements: Reference: Chrome issue 2416033002 Solution The solution is to add the form to the document and then submit it: jQuery




























$(document).append(form);


document.body.appendChild(form);

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326724868&siteId=291194637