TypeError: Argument 1 of FormData.constructor does not implement interface HTMLFormElement.
Firefox, save new menu
TypeError: Argument 1 of FormData.constructor does not implement interface HTMLFormElement.
app.create() admin.js:176
<匿名> admin.js:82
n.event.dispatch() jquery.min.js:3
n.event.add/r.handle() jquery.min.js:3
yes,me too
I got this problem too... what is the solution?
Ok i got the solution. Don't pass the files into the constructor var formData = new FormData($(forms));
Use like this var formData = new FormData();
var userPassFormData = new FormData(this); there is no any form for pointing. this code running for chrome(some times) but not working for Mozilla firebox even one time. error in Mozilla -----> TypeError: Argument 1 of FormData.constructor does not implement interface HTMLFormElement
var userPassFormData = new FormData(this); there is no any form for pointing. this code running for chrome(some times) but not working for Mozilla firebox even one time. error in Mozilla -----> TypeError: Argument 1 of FormData.constructor does not implement interface HTMLFormElement
Hi @BoyNoogler i am also facing the similar issue. Did you got any solution
@BoyNoogler did you get any solution? , or anyone have solution for this?
var userPassFormData = new FormData(this); there is no any form for pointing. this code running for chrome(some times) but not working for Mozilla firebox even one time. error in Mozilla -----> TypeError: Argument 1 of FormData.constructor does not implement interface HTMLFormElement
Hi @BoyNoogler i am also facing the similar issue. Did you got any solution
Hi @devendratata did you got similiar issue? , and how can you got soluiton for this?
Same issue for me. Did you find a solution ?
Same issue for me. Did you find a solution ?
don't pass file into the constructor. you can using the same as:
var formData = new FormData(); formData.append('file', file);
I was able to solve the same problem as follows: var myForm = $("#form")[0] data: new FormData(myForm)
I was able to solve the same problem as follows: var myForm = $("#form")[0] data: new FormData(myForm)
Was able to solve mine too
data: new FormData( this[0] )
if your HTML elements IDs are not the same: I had the same problem only to find that a div was sharing same ID with form