jQuery Mobile Question:

How to stop JQM from auto-enhancing an element?

Tweet Share WhatsApp

Answer:

To prevent jQuery Mobile form enhancing an element simply add data-role="none" to the element. Here is a select that is the normal, native element instead of the custom jQuery Mobile styled version that normally is seen:

Download jQuery Mobile PDF Read All 77 jQuery Mobile Questions
Previous QuestionNext Question
Why content injected into a page is not enhanced?How to load a page using jQuery Mobile?