How can I generate elements after page load with jQuery Mobile Alpha 3?
I'm creating some collapsibles after the page is loaded via ajax/json. The problem is that jQuery Mobile has already loaded开发者_开发百科, so the added classes and elements aren't created.
In Beta 3, I guess I could just use .trigger('create') and it would fix this for me, however that wasn't around in Alpha 3.
How can I go about fixing this?
Thanks!
I'm with Phil, you should definitely upgrade.
However, if this is out of the question for you, try the page() method, see
Jquery Mobile: updating a form more than once
精彩评论