I\'ve set up this simple version of the Bootstrap accordion:
Simple accordion: http://jsfiddle.net/darrenc/cngPS/
Currently the icon only po
This has been answered by numerous ways but what I came up with was the simplest and easiest for me with Bootstrap 3 and font awesome. I just did
$('a.toggler').on('click', function () {$('i', this).toggleClass('fa-caret-up');});
This just toggles the CSS class of the icon I want to show. I add the class toggler to the item I want to apply this to. This can be added onto any item you want to toggle an icon.