SyntaxFix
Write A Post
Hire A Developer
Questions
Try this instead to only select the visible elements under the tbody:
tbody
$('tbody :visible').highlight(myArray[i]);