jquery-ui accordion: adding rows without destroying and recreating?

Posted by kdt on Stack Overflow See other posts from Stack Overflow or by kdt
Published on 2010-06-09T17:27:29Z Indexed on 2010/06/09 17:32 UTC
Read the original article Hit count: 204

Filed under:
|
|
|

I have a jquery accordion which I want to add rows to. I can accomplish this by calling .accordion("destroy"), adding the needed

... bit and then calling .accordion() again, but this destroys the state and closes any dividers which are open.

Is it possible to add rows to the accordion without destroy and recreating it?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery