document.addEventListener("DOMContentLoaded", function () { const botones = document.querySelectorAll(".boton-desplegar"); botones.forEach(boton => { boton.addEventListener("click", function () { const contenedor = this.closest(".elementor-container"); const contenido = contenedor.querySelector(".contenido-oculto"); if (contenido) { contenido.classList.toggle("contenido-activo"); } }); }); });

Comunicación


Document