jQuery Mobile Question:
Download Job Interview Questions and Answers PDF
Why content injected into a page is not enhanced?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
How to control page titles in jQuery Mobile? | How to stop JQM from auto-enhancing an element? |