[ad_1]
‘);
$(‘html,body’).animate({scrollTop: $(‘.noo-main’).offset().top – 200}, 500);
var $form = $(“#66458a7517322_form .form-control”);
var data = $(this).parents(‘form’).serialize();
history.pushState(null, null, “?” + $form.serialize());
$.ajax({
url: “https://ajirayako.co.tz/wp-admin/admin-ajax.php”,
data: data
})
.done(function (data) {
if (data !== “-1”) {
$(“.noo-main”).html(data);
$(‘.noo-main’).removeClass(‘noo-loading’);
if ($(‘[data-paginate=”loadmore”]’).find(“.loadmore-action”).length) {
$(‘[data-paginate=”loadmore”]’).each(function () {
var $this = $(this);
$this.nooLoadmore({
navSelector: $this.find(“div.pagination”),
nextSelector: $this.find(“div.pagination a.next”),
itemSelector: “article.loadmore-item”,
finishedMsg: “All jobs displayed”
});
});
}
} else {
location.reload();
}
})
.fail(function () {
})
});
}
$(“#66458a7517322_form”).on(‘submit’, function () {
$(this).find(“input[name=”action”]”).remove();
$(this).find(“input[name=”_wp_http_referer”]”).remove();
$(this).find(“input[name=”live-search-nonce”]”).remove();
return true;
});
});
[ad_2]