Dropzone.js is a light weight JavaScript library that turns an HTML element into a dropzone. This means that a user can drag and drop a file onto it, and the file gets uploaded to the server via AJAX.
HTML markup code for abowe example:
All avalible options and full documentation you can find: http://www.dropzonejs.com/#configuration-options