jQuery/CSS – How do I select all the <li style="display: none;"> in the document?
jQuery/CSS – How do I select all the <li style=display: none;> in the document?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While the chosen answer works in your case, it’s still doesn’t answer the question. Same for the answers posted by other people, so I decided to write this anyway.
This will return a jQuery object representing a list of all the
<li>elements in your document with a style property containing “display: none”.This is a different thing that finding all the hidden elements in the document.