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
TriggerTrigger 

How can i display records in an accordion on a visualforce page?

I am trying to display records from a custom object Questions__c in a visualforce page Accordion component. The idea is to have a list of "questions__c" and when you click on them, an "answer__c" will slide down. can anyone point me in the right dirrection? i have been searching online but most of the solutions involve css and javascript. I don't mind using Javascript of jquery to accomplish this but I need some clearer instructiopns or a visualforce code sample.

Thank you in advance.