I have the below dropzone JS form which uploads files as It should.
<form action="upload.php" class="dropzone" id="dropzone" >
<div class="dz-message needsclick" style="margin-top:-20px">
<i data-feather="upload-cloud" style='margin-top:4px'></i>
<h4 style='font-weight:100'>Drag image here or click to upload</h4>
</div>
</form>
I am trying to get the page to redirect to another page when ALL uploads are completed. From a search, I found the below script, however it doesn't seem to do anything
<script>
dropzone.on("success", function(file, responseText) {
window.location.href = ("Uploaded.php")
});
</script>