I am writing an application that\'s supposed to support HTML5 drag/drop API for file, much like the on described here. I would like to perform a programmatic check on whethe
I had to make a slight change to dshaw's answer for support in IE8:
if (!!window.FileReader && Modernizr.draganddrop) { // sexy drag and drop action } else { // no drag and drop support available :( }
You can try it out here