var arr = []; $("#ItemsTable tr").each(function(){ arr.push($(this).find("td:first").text()); //put elements into array });