次のページをクリックすると、このコードに問題が発生します>>>ページが2回更新されます。<<<停止することは可能ですか?私の貧弱な英語でごめんなさい
コード
jQuery(document).ready(function() {
$(".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;
}});
どうもありがとう