jQuery w3schools 한글판 강좌55 -Filter the Elements to be Removed
jQuery w3schools 한글판 강좌55 - 제거대상 요소 필터링(걸러내기)
제거대상 요소 필터링
jQuery remove() 메소드 역시 1개의 매개변수를 받으면, 그것을 이용하여 제거 대상 요소를 필터링 할 수 있습니다.
그 매개변수는 어떠한 jQuery문법형태의 것이 될수 있습니다.
다음예는 class="test" 를 가지는 모든 <p> 요소들을 제거합니다:
Example
$("p").remove(".test");
이 예제는 class="test" 와 class="demo" 을 가지는 모든 <p>요소들을 제거합니다:
Example
$("p").remove(".test, .demo");
게시판 목록
개발자팁
개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.
질문은 QA에서 해주시기 바랍니다.
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 4556 | jQuery |
프로그래머7
|
8년 전 | 1691 | |
| 4555 | jQuery |
프로그래머7
|
8년 전 | 1610 | |
| 4554 | jQuery |
프로그래머7
|
8년 전 | 1665 | |
| 4553 | jQuery |
프로그래머7
|
8년 전 | 2041 | |
| 4552 | PHP | 8년 전 | 1880 | ||
| 4551 | PHP | 8년 전 | 1468 | ||
| 4550 | PHP | 8년 전 | 1708 | ||
| 4549 | jQuery |
프로그래머7
|
8년 전 | 2745 | |
| 4548 | jQuery |
프로그래머7
|
8년 전 | 1443 | |
| 4547 | jQuery |
프로그래머7
|
8년 전 | 1368 | |
| 4546 | jQuery |
프로그래머7
|
8년 전 | 1684 | |
| 4545 | jQuery |
프로그래머7
|
8년 전 | 1712 | |
| 4544 | jQuery |
프로그래머7
|
8년 전 | 1866 | |
| 4543 | jQuery |
프로그래머7
|
8년 전 | 1653 | |
| 4542 | jQuery |
프로그래머7
|
8년 전 | 1585 | |
| 4541 | jQuery |
프로그래머7
|
8년 전 | 1634 | |
| 4540 | jQuery |
프로그래머7
|
8년 전 | 1667 | |
| 4539 | jQuery |
프로그래머7
|
8년 전 | 1864 | |
| 4538 | jQuery |
프로그래머7
|
8년 전 | 1536 | |
| 4537 | jQuery |
프로그래머7
|
8년 전 | 1698 | |
| 4536 | jQuery |
프로그래머7
|
8년 전 | 1936 | |
| 4535 | jQuery |
프로그래머7
|
8년 전 | 1521 | |
| 4534 | jQuery |
프로그래머7
|
8년 전 | 1856 | |
| 4533 | jQuery |
프로그래머7
|
8년 전 | 2346 | |
| 4532 | jQuery |
프로그래머7
|
8년 전 | 1918 | |
| 4531 | PHP |
|
8년 전 | 3714 | |
| 4530 | jQuery |
프로그래머7
|
8년 전 | 1801 | |
| 4529 | jQuery |
프로그래머7
|
8년 전 | 1903 | |
| 4528 | jQuery |
프로그래머7
|
8년 전 | 1701 | |
| 4527 | jQuery |
|
8년 전 | 2700 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기