Menu icon Foundation
Dynamic Accordion Creation

I made a code to create dynamic accordions using .innerhtml depending on arrays that were parsed from csv files, but when they are created, the accordions do not open up. The accordions are shown but do not activate when I click them. Is there a way to activate them after dynamic creation?

accordionsdynamicinnerhtml

I made a code to create dynamic accordions using .innerhtml depending on arrays that were parsed from csv files, but when they are created, the accordions do not open up. The accordions are shown but do not activate when I click them. Is there a way to activate them after dynamic creation?

This post has been closed. No new replies can be added.

Daniel Johnson about 1 year ago

Found solution on another post!

 

http://foundation.zurb.com/forum/posts/2511#comment_6050