Skip to content

Accordion does not work if loaded after page completion via AJAX/XHR #12624

Answered by jpagano
rmroland71 asked this question in Q&A
Discussion options

You must be logged in to vote

You need to initialize manually the #accordion-test after the AJAX call.

new Foundation.Accordion($('#accordion-test'));

More info

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rmroland71
Comment options

Answer selected by rmroland71
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants