How to reinitialize Owl Carousel after ajax call?

前端 未结 4 1477
误落风尘
误落风尘 2020-12-06 15:47

I am trying to reinitialize owl carousel after a successful ajax call. The ajax call will change the data but the view should stay the same.I am having an issue where the vi

4条回答
  •  爱一瞬间的悲伤
    2020-12-06 15:57

    As per your code I make changes please apply this I hope this code work full.

    success: function(result) {            
                $('#demo').html('');
                for(var i=0;i
    '); }; var owl = $("#testing"); owl.owlCarousel({ items: 4, navigation: true });

提交回复
热议问题