Front-End/jQuery1 jQuery : text(), val() 차이 text() : form 요소 혹은 html 요소의 text를 가져온다. form의 input, script 등은 가져오지 못한다. val() : form 요소의 value 값을 가져온다. input element의 값은 val()로 가져와야 한다. 2025. 5. 29. 이전 1 다음