AliSarabadani AliSarabadani - 1 year ago 71
Javascript Question

Hiding non-clicked rows using .siblings().hide()

I have the following code to collapse non-clicked rows in a Bootstrap accordion table, but instead it hides the whole row of the siblings not just the



Answer Source

apparently most people have problem with applying this function on bootstrap tables as rows will show/hide twice either with hide/show or slideUp/Down, so we changed the code to this:


now it works fine,