Try calling .trigger("create") on the element with the new content.
According to the jQuery Mobile docs, "The create event is suited for enhancing raw markup that contains one or more widgets."
EDIT: As of jQuery Mobile 1.4, .trigger('create') is deprecated, and you should use .enhanceWithin() instead. (Thanks to John Mc for the heads-up.)
Yes! That did the trick! Thanks also for pointing out the documentation.
This isn't working for me. I tried using 1.0 stable and the nightly build. Any suggestions? I've tried using .page(), .page("refresh"), .trigger("create"). Never any errors, but no styling applied.
@snipe: I think you need to make sure you trigger when the new contents have been inserted on the DOM.
@snipe - Try triggering the trigger."create" event on the parent element.