댓글 검색 목록

[jQuery] Uncaught TypeError: $(...).size is not a function jquery 오류

페이지 정보

작성자 운영자 작성일 19-04-30 23:52 조회 1,115 댓글 0

jQuery1.8이후부터는 size()메소드 대신에 length 사용


영카트에서


/js/shop.js 내에 관련 코드가 보임


예:

var sel_count = $("select.it_option").size();

var sel_count = $("select.it_option").length;


댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.