data.files array is always empty

I'm integrating the "basic" plugin in my ASP.NET MVC app and I am able to select files for upload but...nothing happens. No html is appended to the preview DOM element and the upload does not start.

When I debug the JS code (specifically the change event handler) I see that the data.files array is always empty.

        change: function (e, data) {
            $.each(data.files, function (index, file) {
                console.log('Selected file: ' +;

Not sure what would lead to this situation. I can run the demo from github without issues.

Any thoughts?


0 Answers data.files array is always empty