I have tried
var $childNodes = $(".definition").children(); console.log($childNodes.filter(\':visible\').text());
from Get only vis