[SOLVED] Programatically modifing collapsible content title

[SOLVED] Programatically modifing collapsible content title

Hi all,

I'm trying to programatically modify the title (i.e. the h3 tag) of a collapsible section via $('#elemTitle').html(...). After the change, collapsibleElem.collapsible({refresh:true}) is called.

The title indeed updates but it's not styled as a collapsible element title.
The body of the element can be successfully modified.

Thanks in advance :)