Welcome Guest, Not a member yet? Register   Sign In
Simple Ajax paging with existing pagination lib & jQuery
#12

[eluser]redraw[/eluser]
where do i put this code
[code]
ajax_paging = function(){
$("p.pagination a").click(function() {
$.ajax({
type: "GET",
url: $(this).get(),
success: function(html){
$("#display-content").html(html);
}
});
});
return false;
};
[/code

and in which file do i call it?

thx


Messages In This Thread
Simple Ajax paging with existing pagination lib & jQuery - by El Forum - 03-28-2011, 06:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB