Im trying to hide an accordion based on the value of a check-box, but im lost since i dont have any id's or such to identify the values by.
So i have the code below and i want to hide elementor-tab-title-2471 if the value of the checkbox is "Ja" (Ja, is Yes in danish).
<div id="elementor-tab-title-2471" class="elementor-tab-title eael-accordion-header"
tabindex="2471" data-tab="1" role="tab" aria-controls="elementor-tab-content-2471"><i class="fas
fa-hot-tub fa-accordion-icon"></i><span class="eael-accordion-tab-title">Spa</span><i class="fas
fa-arrow-down fa-toggle"></i></div><div id="elementor-tab-content-2471" class="eael-accordion-
content clearfix" data-tab="1" role="tabpanel" aria-labelledby="elementor-tab-title-2471"><p><p>
<!-- template: wp-content/participants-database-templates/pdb-single-single-value_custom.php -->
<span class="pdb-value spa "><span class="checkbox">Ja</span></span>
Thanks in advance :)
Best Regards Sandra
Aucun commentaire:
Enregistrer un commentaire