我是否需要在jQuery mobile旁边包含jQuery core? [英] Do I need to include jQuery core alongside jQuery mobile?
本文介绍了我是否需要在jQuery mobile旁边包含jQuery core?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否需要包括jQuery的核心,还是仅移动框架就足够了? 通过我的尝试,我得出结论,两个文件都是必需的,但是我想确定这个问题.
Is it necessary to include the core of jQuery, or is the mobile framework sufficient alone? From what I`ve tried, I concluded that both files are necessary, but I would like to be sure on this issue.
推荐答案
文档为您提供所有您需要知道的信息:
The docs give you all the information you need to know:
jQuery Mobile网站必须以HTML5'doctype'开头才能充分利用框架的所有功能. (使用不了解HTML5的浏览器的旧设备将安全地忽略文档类型"和各种自定义属性.)在标题"中,对jQuery,jQuery Mobile和移动主题CSS的引用需要从头开始.
简而言之,是的,需要jQuery核心 .
In short, yes, jQuery core is required.
这篇关于我是否需要在jQuery mobile旁边包含jQuery core?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文