I like to select an element by more than two condition.
for example
name is some name and checked
how can I do this?
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.
You can append the attribute and
:checkedselectors, like this:Th key here, don’t leave a space and you’re telling Sizzle (jQuery’s selector engine) to filter on the same element. If you put a space between, it’s would be: “find checked children of elements with this name.”