In jQuery, how can I build a selector for tags h1, h2, h3 and p inside #con?
Like $('#con h1, #con h2, #con h3, #con p') but without repeating the #con
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 do any of the following:
I’ve created a nice little jsFiddle that demos all of this.