I created a page in which I use the PHP function flush (), the second data resonated to the output data to the browser I'm also calling this page using jQuery's AJAX function. It works, but jQuery does not output anything until the whole page is executed, which removes the functionality of the flush ().
How can I fix this?
My Ajax Call looks like this:
jQuery.ajax ({type: "get", url: url, data: postdata, success: function) {JQuery ('# retdiv') .HTML (Retal);}}}
Here you have 2 plugins for streaming:
JQUERY AJAX HTTP stream and JSTREAMPLUG .
< P> "This plugin allows for a continuous connection with anyone using a HTTP request and continuously storing updated content with the latest content The server offers $ to allow streaming. Ajax, $ .get and $. Providing post function. "
Comments
Post a Comment