Online demo: http://jsbin.com/ewazu
TD , first-child input. , . , , . , . , HTML TD:
$("table td").each(function(i,o){
var value = ( $(":first-child", this).is(":input") )
? $(":first-child", this).val()
: ( $(this).text() != "" )
? $(this).text()
: $(this).html() ;
alert(value);
});