Search code examples
jqueryattributescoding-style

jQuery get elements without display="none"


How can I get all tbody > tr that doesn't have this style attribute: display: none?


Solution

  • $("tbody > tr:visible")
    

    Should do it, by using the :visible selector.