[ad_1]
Hello, I have added an accordion, and for content type I have selected a template and it’s working fine.
What i’m trying to do now is have a button on the bottom of the template to close the accordion content.
I have added an elementor button with the id “close-content” and I was trying to use this piece of code that I found here, but I can’t seem to make it work.
jQuery(document).ready(function() {
jQuery(".elementor-element-65723e9 .close-content").click(function() {
jQuery("#close-content .eael-accordion-tab-title").click();
return false;
});
});Can someone help me achieve this?
The page I need help with: [log in to see the link]
