Web Frontend/프론트엔드 스크립팅 복붙

JS div 태그 사이에 값 가져오기, 변경하기<div></div>

찬스님 2020. 11. 22. 10:55
300x250

JQuery


1. 가져오기 GET

$(Selector).text() - > $("#birth").text()


2. 변경하기 SET

$(Selector).text(value) - > $("#birth").text(value)


반응형