How to regenerate jQuery Mobile style after Ajax request? -
i'd apply autogenerated jquery mobile style (classes jquery mobile applies on page loading) after additionnal content loading via ajax.
i load content via ajax parsed , organised <ul>
, style jquery applies on page loading isn't applied again on ajax loaded content.
assuming ul jquery-mobile "listview", try refresh entire list using :
$('#yourlist').listview('refresh');
jquery mobile doucmentation http://jquerymobile.com/demos/1.0a2/#docs/forms/plugin-eventsmethods.html
Comments
Post a Comment