Salesforce - Drag and Drop File Uploader Component with Progress Bar - HTML5 and Pure Javascript
Apex
Permalink
Failed to load latest commit information.
src Initial Commit Dec 19, 2014
HTML5 Drag And Drop File.JPG Initial Commit Dec 19, 2014
README.md Update README.md Dec 19, 2014

README.md

Salesforce - Drag and Drop File Uploader Component with Progress Bar - HTML5 and Pure Javascript

You may find many ways to upload attachments in Salesforce using visualforce however most of them uses some Javascript libraries (means either you need to depend on static resources or add CDN in remote site settings) or they do not have progress bar or they are not drag and drop. I thought to create one simple Visualforce component which can show progress bar and have drag and drop capabilities.

Initially i gave though to use visualforce remoting however challenge was how to show progress bar and same challenge was with custom controller or extension also. So, i decided to create one simple Apex REST API to upload attachment.

Salesforce – Drag and Drop File Uploader Component with Progress Bar – HTML5 and Pure Javascript Based

Blog post - http://www.jitendrazaa.com/blog/salesforce/salesforce-drag-and-drop-file-uploader-component-with-progress-bar-html5-and-pure-javascript-based/