jQuery Mobile Question:

Why content injected into a page is not enhanced?

Tweet Share WhatsApp

Answer:

jQuery Mobile has no way to know when you have injected content into a page. To let jQuery Mobile know you have injected content that must be enhanced, you need to either make sure the plugins are called to enhance the new elements or trigger("create") on the parent container so you don't have to call each plugin manually.

Download jQuery Mobile PDF Read All 77 jQuery Mobile Questions
Previous QuestionNext Question
How to control page titles in jQuery Mobile?How to stop JQM from auto-enhancing an element?