Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent jquery mobile adding it's classes to html elements?

I develop drag'n'drop jquery mobile constructor. When jmobile core loaded it's override my css rules by adding some classes to different elements. How prevent this? I want apply transform after element dropped on my "canvas". How can I do this?

like image 862
Meliborn Avatar asked Apr 19 '12 11:04

Meliborn


People also ask

Is jQuery Mobile outdated?

The team announced that the cross-platform jQuery Mobile project under its umbrella will be fully deprecated as of October 7, 2021. New technologies for mobile app development have evolved since this project was launched in 2010, so we're encouraging developers to plan for this jQuery Mobile transition.

Where should you place the jQuery Mobile js file?

jquery-mobile Getting started with jquery-mobile Setup Create a jquery-mobile folder inside the lib folder (I've named mine jqm). Place all of the jquery-mobile files that you have extracted inside of the jquery-mobile folder. You can now link to these files in your index. html file.

What is the use of jQuery Mobile?

The framework allows developers to build applications that can be accessed by the widest number of browsers and devices, whether it is Internet Explorer 6 or the newest Android or iPhone. Mobile jQuery also gives developers the ability to render basic content (as built) on basic devices.


1 Answers

Perhaps adding data-role="none" as attribute will help?

http://jquerymobile.com/demos/1.0rc2/docs/forms/forms-all-native.html

like image 113
Jorissu Avatar answered Nov 03 '22 01:11

Jorissu