I am using dropzone.js to uploads images to my php server. I have used jquery ajax call to save the form after all images are uploaded.
Now, i want to clear the dropzone div when form values are saved on the server. I have tried removeAllFiles() , but it removes files from server too.
I have googled so many times but not getting any right idea. Please provide any help if anyone knows . Thanks in advance!!!
display: none;for them. Is it ok?addRemoveLinks: true, removedfile: function(file) { var _ref; return (_ref = file.previewElement) != null ? _ref.parentNode.removeChild(file.previewElement) : void 0; }