title: JavaScript AJAX call to sever each time move to next view page
body: <p>Folks, 
  My application is build based on SQL server, PHP, JavaScript. 
  The PHP code is where I configure all controller, it's a middle layer between my View ( JavaScript) and my server ( SQL). 
  My search result page looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/zCBXb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zCBXb.png" alt="Like this"></a></p>
  
  <p>For example, I display 10 search results in one page over 10000 results. The problem came when I have too many results. The page rendering process takes up to 25 seconds. Now I want to do something like : each time I click to a second page that showing result from (example 11 - 21), then after onClick, the second-page result need to call server again and render result from 11-20. I'm using datatable but not sure it's right track. Thanks.</p>