11

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?

1 Answer 1

15

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

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

Sign up to request clarification or add additional context in comments.

6 Comments

I know about data-role="none", but which place I should add it?
"Adding the data-role="none" attribute to any form or button element tells the framework to not apply any enhanced styles or scripting. " Quoted from the jquermobile.com site link above.
Add this attr to each element? Oh my God. I try add this attr to <html>, but jmobile add his class "ui-mobile"
I read it. When I using $.mobile.autoInitializePage = false; there are 5 seconds when page not visible (white screen) and after that, html get "ui-mobile" class
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.