How to delete a specific slide from bootstrap carousel using JQuery

I am new to bootstrap.
Basically in my Carousel, in some slides I have the Decline button. enter link description hereOnclick of which I want to delete/remove that slide and navigate to the next slide.
Is it possible using JQuery?
I was trying something similar here in JSFiddle:

Thank you very much in advance.


Source: css

Leave a Reply