I've been looking for a way to track the amount of data loaded in a jQuery .load() request. What I want is a bar that expands when the amount of loaded data increases – a progress bar. And this progress bar should listen to the .load() request.
Throughout my 2 hours of research, I've been as far as looking upon long-time pooling, JSON, etc. But I can't figure out if I'm on the right track or not.
How do I make a progress bar listen to a jQuery .load() request and increase proportionally with the amount of loaded data?