How to re-skin elements that weren't around when jquery mobile skinned

published Jun 27, 2013 04:24   by admin ( last modified Jun 27, 2013 04:24 )

Send a "create" event. I sent ot to the parent element and it works.

 

Normally jQm will enhance elements during the page init event. If you add/remove/manipulate the page after that event has fire you'll need to trigger the enhancement via code. Try adding this line after your append statement. $("#grillaCaps").trigger("create");


Read more: Link - jquery mobile dynamic buttons in grid lose format/style after first “render” - jQuery Forum