Open LeeXiooo opened 6 years ago
$.getScript(options.basePath + 'lib/dmuploader/jquery.dm-uploader.min.js') .done(function () { $('#uploader-dragarea').dmUploader({url: 'up.php'}); });
Uncaught TypeError: $(...).dmUploader is not a function
Me too, default loading via html script tag with jQuery v3.2.1. Showing this error.
script
Try this $('#drag-and-drop-zone').dmUploader().data() instead of this $('#uploader-dragarea').dmUploader().
$.getScript(options.basePath + 'lib/dmuploader/jquery.dm-uploader.min.js') .done(function () { $('#uploader-dragarea').dmUploader({url: 'up.php'}); });
Uncaught TypeError: $(...).dmUploader is not a function