How to prevent jQuery mobile's automatic page styling?

后端 未结 1 493
礼貌的吻别
礼貌的吻别 2021-01-12 13:13

jQuery mobile automatically adds classes to all elements on my page on loading... this really messes up the jQuery UI widgets I have on the page. Is there any way to prevent

相关标签:
1条回答
  • 2021-01-12 14:06

    You can ask jquery mobile not to touch your widget by putting the attribute below:

    data-role="none"
    
    0 讨论(0)
提交回复
热议问题