function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GV1GV1 

How to get all the IDs (dynamic ids) in the JQuery

I have a few divs inside APEX Repeat

on click of one div I have to expand that div and colapse all the others.

 

How to get all the divs in the JQuery

 

 

Avidev9Avidev9

Give class to the div that is inside repeat and use the class selector $('.myClass') collapse all and then open the clicked one using $(this)