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?
Just use trigger("create")
http://jsfiddle.net/eLENj/101/
Read more: http://jquerymobile.com/test/docs/pages/page-scripting.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With