Dynamically List JQuery Mobile (Style Issue)

Recently I’ve been working on Mobile Jquery and stuff. I was doing a dynamic listview with mobile jquery and when is loaded it is very plain and no styles were applied.

After searching online for a while I figure out we need to refresh the list to apply the style. Check out the code below. Hope it helps you too.

$('#account_list').append(htmlString);
$("#account_list").listview("refresh");
Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.

Leave a Reply