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

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -