Develop

[js] jQuery 배열 루프(each)

by hooni posted Dec 17, 2013
?

Shortcut

PrevPrev Article

NextNext Article

ESCClose

Larger Font Smaller Font Up Down Go comment Print

나중에 정리해서 다시 올릴거..


//.each() 사용
$.each(arr, function(index, item){
    ....
});

//객체.each()
$( selector | array ).each(function(index, item){
    ....
});