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.
This may help you with several selectors CSS Selectors.
As for your requirement, You can use this to select all div
with display:block
under the #report
.
$('#report div[style*=display:block]')
You could use:
$("[style='display: block;']");
but I wouldn't, I'd add a class as well to hook onto.