Dynamic collapsible in 1.42
I have added a dynamic collapsible set via jquery load in my content division. The data is loaded correctly and I can show the page with
$(':mobile-pagecontainer').pagecontainer('change', '#tablet_frame', {
transition: 'slide',
changeHash: false,
reverse: true,
showLoadMsg: true
});
where #tablet_frame is the id of the page. Unfortunately the content is not enhanced and the set is not collapsed.
I have tried both (where
append_tab_data is the place the set was loaded):
$('#append_tab_data').enhanceWithin();
and
$('#append_tab_data').trigger('create");
and neither enhances the set.
Any thoughts on how this should work in 1.42?