I’m trying to get a div which has “panel current” as classname.
The problem is the space – how can I select it?
I’m trying to get a div which has panel current as classname. The problem
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.
Class names can’t have spaces in them. What you have there is two classes:
This div has two classes: panel and current. That’s easily selected:
That means select all divs that have class panel and class current.