i use jquery 1.11 and this code to ajax load wordpress post content in sidebar . everything is good but jquery functions of owl carousel not work and the carousel in post content not showing anything. ajaxify code to load post content:
jQuery(document).ready(function($){
$.ajaxSetup({cache:false});
$(".post-link").click(function(){
var post_link = $(this).attr("href")+' #content';
$("#single-post-container").html("loading ...");
$("#single-post-container").load(post_link);
return false;
});
});
How can i use .ajaxcomplete() function to load owl carousel after ajax load post. best regards.