问题 There is bootstrap Accordian in my html page:link Now,there is a button in html(appearing more than once on the same page),on the click of which,a bootstrap-modal is opened containing an accordian. The problem is,the labels are not fixed in that accordian,it can have different number of labels depending on which button it is opened from. So,I have to add the accordian-labels dynamically through JavaScript,particularly this code: <div class="card"> <div class="card-header" role="tab" id=