How can I check if the browser support HTML5 file upload (FormData object)?
var fd = new FormData();
Following the answer from this post, b
This is the one-liner I use to check if the browser supports FormData and upload progress, in jQuery:
var xhr2 = !! ( window.FormData && ("upload" in ($.ajaxSettings.xhr()) );