By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 993 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Load content(table rows) in Steps

P: 3
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
Dec 17 '14 #1
Share this Question
Share on Google+
1 Reply


Exequiel
100+
P: 287
JSON is the greate answer for that.
I think this page can help you better, just read the tutorial. http://www.w3schools.com/json/json_example.asp Goodluck.
Dec 18 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.