我试图隐藏“箭头”点击“thead”但它不工作。 jquerys的“孩子”不能在桌子上工作吗?点击隐藏子元素
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