Using .map()with .get()is one way:
var arr = $(value).map(function() {
var $th = $(this);
if($th.is("TD")) return $th.html();
}).get();
alert(arr);
I'm not sure what it represents value, but if you change the selector to match only elements td, you can simplify the return statement with return $(this).html();.
.map()iterates over the elements and adds the return value to the jQuery object. .get()retrieves only an array from a jQuery object.
value - tr. :
var arr = $(value).children('td').map(function() {
return $(this).html();
}).get();
alert(arr);
, td html, :
var arr = [];
$('tr').each(function() {
arr.push($(this).children('td').map(function() {
return $(this).html();
}));
}).get();
console.log(arr);
.push(), , .map() .map() . , jQuery, ( - ).