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

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -