[JS] getElementByClassName()[0] index

hi·2022년 8월 18일
0

class명은 중복이 가능하기 때문에 셀렉터 뒤에 인덱스 붙여주기

document.getElementById('title')[0].~

0개의 댓글