This is the html content from which I want to select all elements inside report having display block using jQuery $(\"#report:visible\") does not work for me.>
$(\"#report:visible\")
This should work:
$("#report *").filter(function(){ $(this).css("display") === "block"; });
The * selects all elements within the #report. You're then filtering them to those with CSS property set to block.