I have created a list of arguments which, when clicked, should show a div with text inside (see example here) using the collapse.js of bootstrap.
However I also would like to use the scrollspy function in order to move directly to the target div if all are opens, so that my page could move down to the div I have opened (without scrolling it manually)
I tried to add the scroll-spy to the single
li but it did not work.
Could someone help? Thanks