on-internet
← Community

How to fix the error "Form submission canceled because the form is not connected" in the latest browser versions (IE, Mozilla and Chrome)

Stack Overflow ·

I had this piece of code perfectly running until a week back when chrome was updated to version 56. Now it does not work, When I checked the console I got the error "Form submission canceled because the form is not connected". The submit function is not triggered when clicked. I'm new to coding so please help me with this issue. function report_submit(){ var max = document.getElementById("totalCount").value; var frm = document.createElement("form"); frm.setAttribute("method", "POST"); frm.setAttribute("action", "insertnew.php"); frm.setAttribute("target", "selectnew.php"); var hiddenField1 = d

Comments

Sign in or sign up to comment and upvote.

No comments yet.