Firefox running infinitely even after condition met in jquery function
- by Kyle
The following function is called with
setTimeout(function () { get_progress(fileID,fileName)},8000);
upon a form submit. The purpose of the function is to get read_file.php to read a txt file that stores the file upload status from a form (in percentage).
Upon reaching 80%, my Firefox seems to run infinitely even when HEAD returns an error.…