인프런 커뮤니티 질문&답변
target.cellIndex 확인하는 방법이 있을까요?
작성
·
201
0
const row = target.parentNode.row;
const cell = target.cell;const row = target.parentNode.rowIndex;
const cell = target.cellIndex;계속 변수명 바꾸면서 왜 안 되나 싶었는데 idex가 메서드였군요..
혹시 위 사진처럼 cellIndex를 확인 할 수 있는 방법이 있을까요?






아하 그렇군요