Front-End/jQuery
[jQuery] 기존의 요소 변경 - replaceAll(), replaceWith()
리딩리드
2017. 1. 4. 17:20
기존의 요소 변경 - replaceAll(), replaceWith()
1. replaceWith()
- repaceWith()의 인수에 태그 문자열이나 jQuery객체를 지정할 수 있다
1) 예
- 변경 전
- 변경 후