<div id="yes">
<div class="wrapper">
<something>...</else>
<p>foobar</p>
</div>
</div>
내가 클래스 명jQuery를 : 클래스
$("div.wrapper", "#yes").addClass("newClassName");
을 추가하기 위해 P-태그를하고 싶지만 어디에 "P"를 추가로 요소 내부 태그를 가져 오기? 이 코드는 어떤 사업부 내의 모든 페이지 태그를 얻을 수
$("#yes div.wrapper p").addClass("newClassName");
:
감사합니다. 너희들은 빠르다. :) – Martin