I want to upload multiple files using Dropzone html in sweetalert2.
Problem is when i run query dropzone not working in sweetalert2.
$(document).on('click', '.smt_attachment', function (e) {
e.preventDefault();
var itemId = $(this).data('id');
swal({
title: 'Dropzone File Upload',
html:''+
'<form action="#" class="dropzone" id="dropzone">'+
'<div class="fallback">'+
'<input name="file" type="file" multiple />'+
'</div>'+
'</form>',
confirmButtonText: "Upload",
allowOutsideClick: true
})
});