jquery select all br with display:none;

jquery

Solution

You could try:

$("br").filter(function() { return $(this).css("display") == "none" })

Problem

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 elements that are hidden in other ways, and I don't want that. Thanks.

Original source