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
This code fails in IE8. This would probably be better:
if (typeof(FileReader) === 'function' && Modernizr.draganddrop) { //sexy drag and drop action } else { //no drag and drop support available :( };