Let's say I have a page that slowly returns a bunch of data over time. For example, this, for example:
<?php $iTime = time(); while(time()-$iTime < 10 ) { echo "Hello world"; echo str_repeat( ' ', 1024 ) . "<br />"; flush( ); sleep(3); } ?>
I want to show all the data as it appears. Thus, he will update "live". As with sending a data string, will this allow me to analyze the data and display it?
Is there a way to do this through jquery? I apologize if this was asked earlier
Thank you for your time!:)
javascript ajax
dab May 23 '11 at 5:17 2011-05-23 05:17
source share