Q:

Add buttons into listview dynamically using jquery mobile

I have a code in jquery mobile that will add buttons dynamically in a listview. The problem is that when I add a button on listview dynamically the style of the button disappears.
Here's the code: http://jsfiddle.net/eLENj/98/
I've tried to use the .button("refresh") but doesn't work.
How to solve the problem?

A:

Just use trigger("create")
http://jsfiddle.net/eLENj/101/
Read more:
http://jquerymobile.com/test/docs/pages/page-scripting.html

