Hi
I have created a page in which I use the PHP function flush(), to output data to the browser the second the data is echoed. I'm also calling this page using jQuery's ajax function. It works, but jQuery doesn't output anything until the entire page has executed, which kind of removes the functionality of flush().
How can I fix this?
My ajax call looks like this:
jQuery.ajax({
type: "get",
url: url,
data: postdata,
success: function(retval) {
jQuery('#retdiv").html(retval);
}
})