Is it possible to dynamically add and update an accordion menu after initialization?
For instance, when a user presses a button i want to append an <ul> to a <li> so that way it becomes a submenu.
What i am finding is that it visually looks correct (its indented) but it has none of the functionality.
Ive tried to call .foundation() on the submenu, but it doesnt rebuild the menu.
Any suggestions appreciated.