<input type="file" id="file"> var formData = new FormData(); formData.append('file',$('#file')[0].files[0]); $.ajax({ url: '', type: 'POST', cache: false, data: formData, processData: false, contentType: false }).done(function(res) { }).fail(function(res) {});
(adsbygoogle = window.adsbygoogle || []).push({});