Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 리마커블
- 웹
- CSS #그라데이션 #선형 #이미지위에
- PQ92-3BWF
- 퓨어Q9
- 펜윅트리
- 크러쉬 - 춤
- gethostname
- 한글
- 한글폰트
- 랜덤코드
- 바이낸스
- 2934
- 래퍼럴
- BI트리
- 당겨서새로고침
- 무접점키보드
- LRH 식물
- PQ92
- LRH식물
- 한국어
- random chord
- remarkable
- pulltoreload
- 어퍼스트럭쳐
- vanilla.js
- 앱코
- random-chords
- 리마커블2
- 크러시
Archives
- Today
- Total
toujours
jquery 사용시 find is not a function 오류 (배열[N].find) 본문
<div id='a'></div>
<div id='b'></div>
$('div') 의 결과가 2개이상일때,
$('div')는 jquery객체이자 [DOM, DOM]을 반환한다.
이때 DOM.find는 먹히지 않음. jquery객체만 find 가능.
이럴땐 vanilla js로 querySelector쓰던가
$(this)로 clone()해서 쓰던지 하자.
아래 링크 참고
jQuery throws an error that element.find() is not a function
I have written a small JS to iterate through a set of matched elements and perform some task on each of them. Here is the code: var eachProduct = $(".item"); eachProduct.each(function(index, ele...
stackoverflow.com
반응형
Comments