How to detect browser support for File Api and drag and drop with javascript
Here’s a bit of info for you crazy HTML5 kids. You’ll need to include the handy Modernizr script for it to work. var browserIsSupported = !!window.FileReader && Modernizr.draganddrop;