Having an issue with this code - when I click on the next page, the page refreshes twice. Is it possible to stop this behavior? Apologies for my poor English.
Code
jQuery(document).ready(function() {</p>
<pre>$(".container").css("display", "none");
$(".container").fadeIn(1000);
$("a.pager").click(function(event){
event.preventDefault();
linkLocation = this.href;
jQuery(".container").fadeOut(1000, redirectPage);
});
function redirectPage() {
window.location = linkLocation;
}});
Thank you very much