1

I use bootstrap drupal theme. And i want to use collapse.

I added in theme.info the library path bootstrap.js have cleaned the cache, but after using the following code generates only the button, but the content is not deployed.

      <a class="btn btn-primary" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">

Most likely is not initializing bootsrap.js, please tell me how to fix it?

  • I just ran this example with no problem inside a body text field. I have bootstrap installed, loading bootstrap files from CDN, and did not have to add bootstrap.js at all. Inspect your browser console for errors. – J. Reynolds Feb 12 '15 at 15:19
0

Yes i fixed this problem by using jQuery with more higher version.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.