If I use the adress \"www.xxxxxx.com/test.html#chgd\", the second accordion should be expanding.
I have used the source code from this website \'Bootstrap 3 expand accor
Try this:
<script>
jQuery(document).ready(function() {
var url = document.location.toString();
if ( url.match('#') ) {
var hash = url.split('#')[1];
// collapse the expanded panel
$('#accordion .accordion-collapse').removeClass('in');
// expand the requested panel
$('#' + hash + '_c').addClass('in');
}
});
</script>