Jquery Mobile: updating a form more than once
问题 OK, after many hours of confusion I have discovered that calling page() on Jquery Mobile elements only works once. What do I do if I want to update a form multiple times via AJAX? 回答1: update jQuery Mobile beta2 introduces a create event. .trigger('create') applies JQM enhancements to an element and its children. See: http://jquerymobiledictionary.pl/faq.html You have to use it only once for an element. No exceptions yet. if $('#container') is your element, and you replace its content with