$("#myTable tr").hide().filter(function() { return searchValues.some(function(value) { console.log(this.textContent); //все undefined console.log($(this).text()); //пусто }); }).show();