Dynamically added contents are to be enhanced in jQuery Mobile.
This was mostly done using ‘.trigger( “create” )’

But .trigger( “create” ) has been deprecated since 1.4 and replaced with ‘enhanceWithin()’

Here is a demo of dynamically adding collapsible and enhancing it.

jqm1.4x.enhanceWithin.html