Hello,
ich use php and js - no jquery
By clicking on a button i call a js funtion that creates a ajaxrequest an call a php script.
The php returns a "<table>" which is my content. I write the content in a div.
Because of the long loading times(php calls some webservices...) i search a solution for speeding up the load-sequence.
So i thought about splitting the return-content from php in Steps like returung the table-rows step by step.
But i have no idea how to do this.
should i run the ajax-call in JS in a loop and call it so often till the php return a endflag ???
by jogi
ich use php and js - no jquery
By clicking on a button i call a js funtion that creates a ajaxrequest an call a php script.
The php returns a "<table>" which is my content. I write the content in a div.
Because of the long loading times(php calls some webservices...) i search a solution for speeding up the load-sequence.
So i thought about splitting the return-content from php in Steps like returung the table-rows step by step.
But i have no idea how to do this.
should i run the ajax-call in JS in a loop and call it so often till the php return a endflag ???
by jogi
Comment