
#Jquery filedrop js example free#
To use FileDrop you only need one of them.įileDrop is hosted at GitHub - feel free to fork it, report bugs and otherwise contribute to the project.
#Jquery filedrop js example full#
However, a humble backlink to this site ( ) will inspire the author to create even more useful libraries :)įirst FileDrop release has been in January 2012.ĭownload FileDrop - includes demo page, minified ( filedrop-min.js) and full ( filedrop.js) JavaScript files. The same icons not optimized for web (if the above look broken in your editor): 16, 32, 64, 128įileDrop is released in public domain - feel free to use it however you like. Icons of various dimensions: 16, 32, 64, 128 If you like FileDrop you can spread the word with these cute image (feel free to hotlink browse directory): Fixed in Firefox 13+ įixed visual bugs when was used as a drop zone in Firefox 13 and up. Fixed sendAsBinary() in Chrome įixed sendAsBinary() method for Chrome (and possibly others) - thanks to scratchresistor. Thanks to Andreas, listerical85 and others for reporting this.Īlso, drag & drop was verified to work in Opera 12.15. Disabled drag & drop in IE 6-10 ĭisabled drag & drop for Internet Explorer 10 and below - even if they fire ondrop they actually send empty POST body upon submission. All zone and file events are available through regular events - $.on('filesend') and so on. JQuery integration function was added - simply execute fd.jQuery() to plug it into $.filedrop(). Added on.event - per-zone event previewer for any FileDrop class in addition to global fd.onObjCall.Added fd.all array containing all instantinated DropHandle objects.Fixed support for inputless zones ( set to null).

Now throwing exception when attempting to create a DropHandle on a non-existent DOM node.Thanks to CamiloMM for creating a beautiful new logo! Fixes and features Two years and one day sharp after the first launch. New features like data reading and Blob slicing. Revised and extended documentation, dedicated website, fully documented code, complete test suite and validation across all possible browsers. FileDrop - revamped įileDrop just got a brand-new look and feel. Internet Explorer 10-11 support Īdded and verified support for Internet Explorer 10 with its incomplete File API. It is now possible to pass an arbitrary object of values to sendTo() overriding things like XHR method ( POST by default). Upload sample for ASP.Net Web Forms Options for sendTo Thanks to kevinkrouse for the reference.Īlso added recreateInput option to DropHandle - when enabled (by default) lets user upload the same file twice in a row but has a slight chance to break your old code. This is pretty cool - check out the sample. Support for Chrome directories Īdded listEntries() method to File using W3C's draft on File System API (now supported in Chrome 21+). Verified to work on 60 MiB files in latest Chrome and Firefox.Īlso added two extra headers when sending files: X-File-Type (MIME) and X-File-Date (GMT modification date or //now// if unknown). Removed obsolete calls to readAsBinaryString() (now simulated with readAsArrayBuffer()). xRequestedWith option įileDrop class has received xRequestedWith opt to change or disable the default X-Requested-With sent by the library, as per issue on GitHub.

Nat Dunn from Webucator has created a video on FileDrop basics which you can check out here.
