告诉JQuery Mobile不要添加类? [英] Tell JQuery Mobile not to add classes?

查看:124
本文介绍了告诉JQuery Mobile不要添加类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用于移动浏览器的Sharepoint应用程序.我从JQuery mobile使用的只是触摸事件处理程序.

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向dom中添加了一些类,以使网页更加适合移动设备使用,但它却对Sharepoints自动CSS处理造成了严重破坏.

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

是否有一种方法告诉JQuery Mobile不要与DOM混淆?

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

推荐答案

您可以仅使用所需的jQM库,因为它们现在已将小部件解耦:

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:

这篇关于告诉JQuery Mobile不要添加类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆