Welcome Guest, Not a member yet? Register   Sign In
Ajax VS JQuery VS PHP on Pagination
#4

[eluser]Pert[/eluser]
It does not matter what you use with Ajax, all it does is request information from the server while not refreshing the page. The URL it asks for could be PHP, ASP or just hard coded HTML.

If you say your page reloads, it could be any number of things depending on what you are using.

You don't even need a plug-in, you can use jQuery and do something like this

controller:
Code:
function data($page=null)
{
   echo $page;
}

js:
Code:
$.post('controller/data/1', null, function (result){
   $('#data-holder').html(result);
});

Then just change the controller attribute for right page number.


Messages In This Thread
Ajax VS JQuery VS PHP on Pagination - by El Forum - 06-14-2013, 09:15 AM
Ajax VS JQuery VS PHP on Pagination - by El Forum - 06-15-2013, 02:43 AM
Ajax VS JQuery VS PHP on Pagination - by El Forum - 06-15-2013, 03:07 AM
Ajax VS JQuery VS PHP on Pagination - by El Forum - 06-17-2013, 12:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB