FileDrop - Cross Browser JavaScript Drag And Drop File Uploader

Written by Kevin Liew on 27 Aug 2012
31,017 Views • Javascript


There are many Javascript file uploader available online, but most of them require external javascript framework and also, it won't play well with old browsers. Here we have FileDrop, designed to work in old browsers by degrading gracefully, and if you have the most updated browsers, you will able to use the latest drag-and-drop technology. With just 470 lines of code, it's lightweight and it won't affect your website loading time.


  • 470 lines of code; 8/3 KiB minified/gzip'd
  • No dependencies, Flash or applets
  • Progress, error, done and more callbacks
  • Graceful degradation and IFrame fallback
  • Supports Firefox 3.6, Internet Explorer 6, Google Chrome 7, SRWare Iron 4, Apple Safari 5 and Opera 11.61.
  • Multiple file selection
  • Any number of independent FileDrops
  • Call back events for customization


Join the discussion

Comments will be moderated and rel="nofollow" will be added to all links. You can wrap your coding with [code][/code] to make use of built-in syntax highlighter.