问题 I'm using JQuery to adjust some accordions. I have the accordion logic ready, but can't get the desired result. I would like that when a tab is clicked, that particular tab opens and the others close if they are open. And if an open tab is clicked, that particular tab closes too. So at any given time, only one tab should be open, but all tabs can be closed. Here is the fiddle https://jsfiddle.net/4d5mjgza/ $(function() { $('.collapsible-trigger').on('click', function() { var panel = $(this)