Wesley
Wesley

Reputation: 5621

Tell JQuery Mobile not to add classes?

I have a Sharepoint application that we're using with mobile browsers. All I'm using from JQuery mobile are the touch event handlers.

JQuery mobile adds classes to the dom to make web pages more mobile friendly, but it's wreaking havoc on Sharepoints automated CSS handling.

Is there a way to tell JQuery Mobile not to mess with the DOM?

Upvotes: 2

Views: 619

Answers (1)

Phill Pafford
Phill Pafford

Reputation: 85308

You could use just the jQM libraries you need as they have decoupled the widgets now:

You can read more about this in the release notes here:

Also you can use native form elements as well:

Upvotes: 2

Related Questions