what does $ mean here in JQuery

后端 未结 4 1738
甜味超标
甜味超标 2021-01-28 05:46

In the following

var obj = { one:1, two:2, three:3, four:4, five:5 };
    $.each(obj, function(i, val) {
       console.log(val);
    });

what

4条回答
  •  半阙折子戏
    2021-01-28 06:24

    http://api.jquery.com/jQuery/

    jQuery() — which can also be written as $() — searches through the DOM for any elements that match the provided selector and creates a new jQuery object that references these elements..

    -jQuery Site

提交回复
热议问题