loop through all td elements in a table
var all_td_in_a_table = $("#table-id td")
,
then you can do a loop
Use jQuery.each to loop all your td's:
$("td").each(function() {
var id = $(this).attr("id");
// compare id to what you want
});
var all_td_in_a_table = $("#table-id td")
,
then you can do a loop
Use jQuery.each to loop all your td's:
$("td").each(function() {
var id = $(this).attr("id");
// compare id to what you want
});