Can one use more than one collapse button on same page. Especially when using bootstrap 3 collapsible | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can one use more than one collapse button on same page. Especially when using bootstrap 3 collapsible

1st Aug 2020, 9:50 AM
Abel Leke
Abel Leke - avatar
6 Answers
+ 1
Yes you can. You have to use either JQuery or JavaScript and select the tag/class/id and add an event listener to it and then execute your function to manipulate that element
29th Aug 2020, 5:08 AM
Jason Sikes
Jason Sikes - avatar
+ 1
Jason Sikes finally got the answer, jQuery slidetoggle will do the Wonder.
19th Sep 2020, 8:23 PM
Abel Leke
Abel Leke - avatar
+ 1
Very proud of you for digging in and looking for the answer. Now you're on the road to becoming a great programmer. 👏
19th Sep 2020, 9:48 PM
Jason Sikes
Jason Sikes - avatar
0
I have tried using two bootstrap collapsible but each time I click on the second, the first one keeps collapsing
30th Aug 2020, 8:07 AM
Abel Leke
Abel Leke - avatar
0
Bootstrap is written in a jquery language. Do you know how to written JavaScript language?
30th Aug 2020, 12:09 PM
Jason Sikes
Jason Sikes - avatar
0
Still learning JavaScript. You can throw some idea
30th Aug 2020, 9:21 PM
Abel Leke
Abel Leke - avatar