On a our website, we have a form which allows visitors to upload files to a different site on another server. (That site then redirects immediately back to us, so this is completely transparent to the user.)
<form method="POST" id="online_show_upload" class="online_show_upload upload_video" enctype="multipart/form-data" action="https://example.com/upload">
<label id="uploadlabel" for="upload_file">Upload File</label>
<input type="file" name="file_data" id="upload_file">
<input type="submit" value="Upload Now">
</form>
Obviously, our server knows nothing about the upload progress, but the user's browser does. Most browsers will display this as a percentage in the footer. Is there any way that javascript on our site can access that data so we can display a nice progress bar for large file uploads?
This is not an ajax form, and trying to search for anything to do with file uploads and javascript is not returning me useful results, because everything it shows is about ajax.