I'm trying to apply the bootstrap plugin collapse the table.
Statements without javascript plugin works fine, but I would like that only
one row at a time is displayed. I tried this:
$('.accordion-toggle').on('click', function(e) {
$('.collapse').not($(this).next().find('.collapse')).collapse('hide');});
But the first two I click open / close all lines after work as I expect.
Is there a solution?
I'm using version 2.3.2, I know that it is no longer maintained, but the
behavior of the plugin to collapse this case should be the same!
Here JsFiddle <http://jsfiddle.net/lughino/2Dj7Y/134/>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.