javascript - Bootstrap JS - collapsible with toggle -
OK, so I've got this JS code:
jQuery (". Toggle-panel "). Click (function () {jQuery ('# collapsible-element'). Fall ({toggle: true,});});
I think that it should open and close the #closed element, but it can only turn it off into the "Compressed-Elements also in the class attached to the code" Fall ". # Collapsible-element closes with the first click on the .toggle-panel, but the second click does not open it again. If you are using bootstrap, you do not need any additional JavaScript code to toggle is?
Comments
Post a Comment