I have an application that rates a large set of items and outputs a score for each one.
In my php script I'm using ob_start and ob_flush to handle the output of data for each rating. This works great if I directly load the script. But when I try to use .get via jquery, the entire content loads and then is placed into a container, instead of incrementally adding.
I'm wondering the following
- Is there a way to initiate data placement before the get has completed?
- Do I need to continually poll the script until the process is complete?
- Is there a more efficient way to display the data instead of get?