I'm not 100% sure, but according to docs FormData accepts an HTMLFormElement which may not be acceptable wrapped in a jQuery object ($ml(this)
). Try passing just this
?
The other alternative is to use the tried-and-true $(this).serialize()
instead of introducing FormData
.