[jQuery] Accordion in a for loop

[jQuery] Accordion in a for loop


I was trying to build an Accordion menu using a for loop but all of my
trying failed.
Could anybody tell me how to perform that action (if it is possible)?
Thanks in advance.