hello everybody hope you doing well! i need a little help over here if you please. its my first time ever to use ajax. simply i have this link http://www.lasiestajersey.com/ and am trying to load the page content with this peice of scripe
$("#menu-primary-menu li a").on('click', function() {
var link = $(this);
$.ajax({ url: link.attr("href"),
dataType: 'html',
data: {post_loader: 1},
success: function(data){
$('#wrap > .row-fluid').html(data);
}});
return false;
});
the website built in wordpress. my question is how can i stop the header duplicated? thank you