How do I select an element based on its css?
I need to select a br with inline style display:none. This is not the same thing as br:hidden, because that selects elem
Use jQuery.map:
var brs = $('br'); jQuery.map(brs, function(elem, i){ if(elem.css('display') == 'none') return elem; return null; });