There is such a script:
$(function(){ $('.faqParagraph').hide(); $('.faqAnchor').bind('click', function() { var faq = $(this).parent('.child'); $(faq).children('.faqParagraph').slideToggle(200); $(faq).toggleClass('faqActive'); return false; }); }); <div class="faqAnchor"><a href="#">Подробнее...</a></div>
Can the faqAnchor block, when opening the faqParagraph block, replace the text "More ..." with "Close"?