I have an AJAX form, and its PHP process time is between 30 seconds to 2-3 minutes. I want to add some kind of progress bar, to show the user indication of how many % already ended.
The first thing I thought is using onreadystatechange to increase the element, but it changes at the beginning and right before the PHP returning the results.
Is there other way to find the % of the progress?
Thanks a lot