let tabEl = $('#tabs').children(); let dataStore = window.sessionStorage; if(dataStore.getItem('1-tabs')) { let selected = JSON.parse(dataStore.getItem('1-tabs')); $(tabEl).each((el) => { let elId = $(tabEl[el]).attr("id"); if(elId !== selected.selectId) { $(tabEl[el]).attr('aria-selected', false); $(tabEl[el]).removeClass('active'); let showTab = $(tabEl[el]).attr('data-bs-target'); $(showTab)...