2012-11-06 4 views

답변

1

귀하의 질문 제목 질문 본체와 다른 first-child

$('table tr td:first-child') 
or 
$("table tr td:first") 
or 
$("table tr td").first() 
+0

예, 완벽합니다 .. 고맙습니다. –

0

이 코드는 = TABLEID

$('#tableId td') 
0

시도 ID로 표 안에 모든 TDS를 반환합니다. 내가 확신 할 수는 없지만 당신은이 솔루션에 관심이있을 수 :

당신은 루프가
$('#table_id tr td:first-child') 
0

$('#mytable tr').each(function() { 
var customerId = $(this).find("td:first").html();  
}); 
관련 문제