javascript localstorage displays only first item

I am trying to display localstorage data in bootstrap modal, but it shows item only from first array, how can i show data from array which is clicked? that is my website and github code which i am talking about: https://github.com/nodarchik/alliance-js https://nodarchik.github.io/alliance-js/ thats my code: let data = [{}]; let acceptData = () => {… Read More javascript localstorage displays only first item

Bootstrap: allow opening a modal without activating collapse on parent

Simple situation here: I have a Bootstrap 4 table with rows that I want to be clickable to expand additional, hidden rows. So the entire tr has data-toggle="collapse". However, inside that TR are some buttons that I want to open modals without activating the collapse. I can’t seem the get that working, I’ve tried: $(‘tr[data-toggle="collapse"]’).click(… Read More Bootstrap: allow opening a modal without activating collapse on parent