wordpress ajax pagination

Is your “next” Button an HTML “a”-Element? Please add a little bit more of your code. How do you call your $.ajax – Method?

Am I right that you call it sometings like this:

$("#elementid").on("click", function() {
   $.ajax({....});
}

When I am right and you use an a-Element. Add the following after the “click” method:

$("#elementid").on("click", function(e) {
    e.preventDefault();
    $.ajax({....});
}