$在JQuery中是什么意思 [英] what does $ mean here in JQuery
本文介绍了$在JQuery中是什么意思的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在下面
var obj = { one:1, two:2, three:3, four:4, five:5 };
$.each(obj, function(i, val) {
console.log(val);
});
$在这里是什么意思?是$对象吗?
what does $ mean here? Is $ an object?
推荐答案
$
是jQuery
对象/函数的别名.它充当存储所有jQuery函数的命名空间.
$
is an alias for jQuery
object/function. It's acts as a namespace under which all jQuery functions are stored.
这篇关于$在JQuery中是什么意思的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文