console.log($('#item_list').children().last());
function delForm() {
// console.log();
var length = $('#item_list').children().length;
if(length>1){
console.log($('#item_list').children().last());
}
}
'개발 > javascript' 카테고리의 다른 글
checkbox script로 체크 리스트 값 출력하기 (0) | 2021.04.12 |
---|---|
javascript input 배열 유효성검사 예제 (0) | 2021.04.02 |
구글 마커 안나옴 Error InvalidValueError: setMap: not an instance of Map; and not an instance of StreetViewPanorama (0) | 2021.03.31 |
페이지 접속시 자동으로 탭 클릭하고 지정 영역으로 스크롤 이동 (0) | 2021.03.11 |
facebook 링크 공유 javascript (0) | 2021.02.26 |
댓글