Detecting jquery-ui accordion open / close state

前端 未结 5 2257
眼角桃花
眼角桃花 2021-01-04 19:47

How do I conditionally handle when an accordion section is open. What I am asking is this (in pseudo code):

if (this-accordion-section-open){
   do something         


        
5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-04 20:37

    Solution for the current clicked link is activate:

    HTML Code

    Services

    More information about all of these services

    About

    About us

    Jquery Code:

    
    

提交回复
热议问题