Skip to content

Tag: collapse

Bootstrap Accordion – Toggle all nested elements

I have a lot of nested bootstrap collapsible elements on a page. As example How can i set a link to toggle all elements only within the parent element? Answer You could add a special class closeall to the buttons, and then toggle the collapse state using jQuery.. Bootstrap 3 Demo: Related questions bootstrap 3 collapse(‘hide’) opens all