JQM (jQueryMobile) Dynamically added elements not displaying correctly and CSS is not applied

前端 未结 3 1826
旧巷少年郎
旧巷少年郎 2020-11-29 10:38

I\'m having an issue with adding a select tag dynamically, the CSS and additional html tags (that JQM add) are is not being applied.

Here is an example of how I\'m a

3条回答
  •  Happy的楠姐
    2020-11-29 11:17

    Should use .trigger("create") on the parent of the object(s) you want to render correctly.

    Check the following link:

    http://demos.jquerymobile.com/1.3.2/faq/injected-content-is-not-enhanced.html

    And the following answer: https://stackoverflow.com/a/11054451/487812

提交回复
热议问题