Dear Forum Members,
The demo code of accordion works well. Let us say, the accordion is loaded in a div#foo. If I programmatically generate the same code for the accordion control through ajax and replace the html content of div#foo, the accordion renders correctly. But, I cannot click on the tab (on the generated accordion control) and no accordion action is shown.
I am not able to understand this. Please help.
Is there a way to destroy the old accordion and reinstantiate a new one for the generated content?
Cheers,
Innopeak
The demo code of accordion works well. Let us say, the accordion is loaded in a div#foo. If I programmatically generate the same code for the accordion control through ajax and replace the html content of div#foo, the accordion renders correctly. But, I cannot click on the tab (on the generated accordion control) and no accordion action is shown.
I am not able to understand this. Please help.
Is there a way to destroy the old accordion and reinstantiate a new one for the generated content?
Cheers,
Innopeak
