https://jamesdreaming.tistory.com/206
jQuery 를 이용하여 id, class, name 의 input value 값 가져오기
■ jQuery 를 이용하여 id, class, name 의 input value 값 가져오기 1 cs 위와 같은 input tag 가 있다고 가정 하겠습니다. 이 input tag 에 id, class, name 값을 각각 지정 했습니다. 1 cs 버튼을 하나 만들어..
jamesdreaming.tistory.com
https://www.codingfactory.net/10208
jQuery / Method / .attr() - 속성(attribute)의 값을 가져오거나 속성을 추가하는 메서드
.attr() .attr()은 요소(element)의 속성(attribute)의 값을 가져오거나 속성을 추가합니다. 문법 1 .attr( attributeName ) 선택한 요소의 속성의 값을 가져옵니다. 예를 들어 $( 'div' ).attr( 'class' ); 는 div 요소의
www.codingfactory.net
'■ jQuery(ajax) > Study' 카테고리의 다른 글
[jQuery] jQuery - ajax (비동기 처리), (부분만 업데이트) ★ (0) | 2020.05.03 |
---|---|
[jQuery] jQuery - 애니메이션 (0) | 2020.05.03 |
[jQuery] jQuery - 탐색 (0) | 2020.05.03 |
[jQuery] jQuery - from (0) | 2020.05.03 |
[jQuery] jQuery - 4.속성제어 (0) | 2020.05.03 |