Jssor slider - How do I destroy and recreate Jssor slider with different content

后端 未结 4 1202
独厮守ぢ
独厮守ぢ 2021-01-13 09:49

I\'m trying to use Jssor slider to show different HTML content depending on selected category and its subcategory. I successfully created content slider for one subcategory,

4条回答
  •  一向
    一向 (楼主)
    2021-01-13 10:22

    Please simply remove the slider container.

    $("#slider1_container").remove();
    

提交回复
热议问题