- 3
- 0
- 约1.14万字
- 约 29页
- 2021-03-15 发布于山东
- 举报
JavaScript-数据类型和对象
jQuery 片段:
1
var
2
// Will speed up r
eferences to window,
and allows munging it
s name.
3
window =
this ,
4
// Will speed up r
eferences to #ff0000,
and allows munging it
s name.
5
undefined,
6
// Map over jQue
ry in case of overwrite
7
_jQuery = windo
w.jQuery,
8
// Map over the
$ in case of overwrite
9
_$ = window.$,
10
11
jQuery = windo
w.jQuery = window.$
=
function ( selector, c
ontext ) {
// The jQuery
object is actually just
the init constructor en
hanced
13 return new jQ
uery.fn.init( selector, c
ontext );
},
// A simple way to check for HTML stri ngs or ID strin
您可能关注的文档
最近下载
- 区委党的建设工作领导小组在全体会议上的讲话发言材料.docx VIP
- 价值链视角下海尔智家数字化转型的成本管理研究.pdf VIP
- 【总谱】LEGEND OF THE ANCIENT HERO(免费提供下载).pdf VIP
- (完整版)高一所有化学方程式.pdf VIP
- KA_T 22.1-2024 矿山隐蔽致灾因素普查规范 第1部分:总则.docx VIP
- 装修合同后期维护合同7篇.docx VIP
- 福建省福州市福九联盟2025届高三上学期期中联考数学试题(含答案).docx VIP
- 《喜看稻菽千重浪》《心有一团火,温暖众人心》《“探界者”钟扬》联读课件.pptx VIP
- SPMP-STD-EM2001-2015_石油化工装置工艺设计包.pdf VIP
- 高一化学电子书.pdf VIP
原创力文档

文档评论(0)