I have an HTML form with input file like this:
<form method="POST" enctype="multipart/form-data">
<input type="file" name="pic" accept="image/*">
<button type="submit">Salva</button>
</form>
Sometimes, specially with large files, upload process goes on for a long time and user doesn't know what is happening.
Is there any jQuery/javascript event that can do stuff when uploading starts and do others when it finishes?