Fixed How to send FormData objects with Ajax-requests in jQuery? #dev #it #asnwer
Fixed How to send FormData objects with Ajax-requests in jQuery? #dev #it #asnwer
How to send FormData objects with Ajax-requests in jQuery?
The XMLHttpRequest Level 2 standard (still a working draft) defines the FormData interface. This interface enables appending File objects to XHR-requests (Ajax-requests).
Btw, this is a new feature – in the past, the “hidden-iframe-trick” was used (read about that in my other question).
This is how it works (example):
var xhr = new…
View On WordPress












