"thead"클릭시 "arrow_o"를 숨기려고하는데 작동하지 않습니다. jquerys "children"은 테이블에서 작동하지 않습니까?클릭시 자식 요소 숨기기
HTML
<thead class="thead">
<tr>
<th>
<div class="arrow_o"></div>
</th>
</tr>
</thead>
JS
$(document).ready(function() {
$('.thead').click(function() {
$(this).children('.arrow_o').hide();
});
});
특정 jQuery 메서드에 문제가있는 경우 [해당 메서드의 doco] (http://api.jquery.com/children/)를 시작하는 것이 좋습니다 ... – nnnnnn