{"id":7812,"date":"2015-10-28T23:38:29","date_gmt":"2015-10-28T23:38:29","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/28\/start-upload-all-in-jquery-file-upload-blueimp-open-source-projects-blueimp-jquery-file-upload\/"},"modified":"2015-10-28T23:38:29","modified_gmt":"2015-10-28T23:38:29","slug":"start-upload-all-in-jquery-file-upload-blueimp-open-source-projects-blueimp-jquery-file-upload","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/28\/start-upload-all-in-jquery-file-upload-blueimp-open-source-projects-blueimp-jquery-file-upload\/","title":{"rendered":"Start Upload all in jquery file upload blueimp-open source projects blueimp\/jQuery-File-Upload"},"content":{"rendered":"<p>I use jQuery file upload blueimp and have read<\/p>\n<pre><code>$(function () {\n    $('#fileupload').fileupload({\n        dataType: 'json',\n        done: function (e, data) {\n            $.each(data.result, function (index, file) {\n                $('<\/code>').text(file.name).appendTo(document.body);\n            });\n        },\n        add:function (e, data) {\n            $(\"#uploadBtn\").off('click').on('click',function () {\n                data.submit();\n            });\n        }\n    });\n});\n<\/pre>\n<p><code>but this uploads a single file, I want to upload all files that have been selected.<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use jQuery file upload blueimp and have read $(function () { $(&#8216;#fileupload&#8217;).fileupload({ dataType: &#8216;json&#8217;, done: function (e, data) { $.each(data.result, function (index, file) { $(&#8221;).text(file.name).appendTo(document.body); }); }, add:function (e, data) { $(&#8220;#uploadBtn&#8221;).off(&#8216;click&#8217;).on(&#8216;click&#8217;,function () { data.submit(); }); } }); }); but this uploads a single file, I want to upload all files that have been [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7812","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7812"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7812\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}