I can't understand .ajax!!! Can someone help me this(.load) transform to (.ajax)
var max = 5;
var clicked = 0;
var add = 0;
$('#art-load-posts').click(function() {
clicked++;
var nextLink = clicked + 1;
var add = clicked;
if (nextLink <= max) {
$('.none').before('<div id="artcontainer" class="pbd-alp-placeholder-'+ add +' artcontainer"></div>');
$('.pbd-alp-placeholder-'+ add).load('page/'+ nextLink +' .post');
}
});