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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

sql server - python to mssql encoding problem -

windows - Python Service Installation - "Could not find PythonClass entry" -