Base solution for your next web application
Open Closed

Implementing File Dropzone MVC & JQUERY #11817


User avatar
0
gryphon644 created

Hello there, I'm trying to implement a Dropzone UI but I keep seeing this error on my console about DropZone not being defined Here is my jquery code!

I would appreciate it if anyone could help, please.

$(document).ready(function () { Dropzone.autoDiscover = false; $("#kt_dropzonejs_example_1").dropzone({ url: "/App/Lists/UploadDocument/", uploadMultiple: false, paramName: "file", parallelUploads: 1, maxFiles: 1, headers: { "X-XSRF-TOKEN": abp.security.antiForgery.getToken() }, success: function (file, response) { $('#form').append(''); } }); });


No answer yet!