Load content(table rows) in Steps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jogisarge
    New Member
    • Nov 2007
    • 3

    Load content(table rows) in Steps

    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
  • Exequiel
    Contributor
    • Jul 2012
    • 288

    #2
    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.

    Comment

    Working...