을 받기 나는 내부 클래스 chrome-button
와 컨트롤이 포함jQuery. 태그 + 클래스 이름
<table>
<tbody>
<tr>
<td>
<input name="price" class="chrome-input" />
</td>
<td>
<button name="sellButton" class="chrome-button">
</button>
<button name="priceButton" class="chrome-button">
</button>
</td>
</tr>
</tbody>
</table>
가 어떻게 tr
얻을 수 HTML을 가지고있다.
$("tr").children('td').each(function(){
$(this).children('.chrome-button').each(function(){
alert($(this).html());
});
});
이것은 의사 선택기가 일반적으로 훨씬 느립니다. – Ben