I am using dropzone and I have the following code:
<form class="dropzone dz-clickable dz-started" method="post" action="comprueba.php" enctype="multipart/form-data">
<div id="footdrop">
<input style="visibility: hidden; position: absolute; top: 0px; left: 0px; height: 0px; width: 0px;" class="dz-hidden-input" type="file" multiple="multiple" name="file">
</div>
<div id="footenviar" align="center">
<input type="submit" name="enviar" value="Enviar" class="boton" />
</div>
<input type="hidden" name="ref" value="<?php echo $ref ?>">
<input type="hidden" name="revisado" value="0">
<input type="hidden" name="subida" value="1">
</form>
When I drag a file if I wait a short time when I submit to the submit, I do not upload the file, I think the browser cache does not allow time to load it. Any solution?