jquery mobile will automatically apply css and some html for elements on the page based on what data- attributes are on them when the page loads.
I am pulling in some html content via an ajax call but it is introduced to the page after the jquery mobile js rendering has occurred, and therefore does not get the many css classes.
Is it possible to just call out to the js and ask for the rendering to get applied to just my new html content?
BEFORE
<div id="someDiv">
<ul data-role="listview" data-theme="b" data-inset="true">
<li>
<a href="#">
<h3>
Some title
</h3>
<p>
Some text
</p>
</a>
</li>
</ul>
</div>
AFTER
<div id="someDiv">
<ul data-role="listview" data-theme="b" data-inset="true" class="ui-listview ui-listview-inset ui-corner-all ui-shadow">
<li data-theme="b" class="ui-btn ui-btn-icon-right ui-li ui-corner-top ui-corner-bottom ui-btn-up-b">
<div class="ui-btn-inner ui-li ui-corner-top ui-corner-bottom">
<div class="ui-btn-text">
<a href="#" class="ui-link-inherit">
<h3 class="ui-li-heading">
Some title
</h3>
<p class="ui-li-desc">
Some text
</p>
</a>
</div>
<span class="ui-icon ui-icon-arrow-r"></span>
</div>
</li>
</ul>
</div>