With jQuery, how can I find all locations where a specific padding-top value is applied and then increase it from its existing value?
I looked at selectors and I could not find such a thing.
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.
Do you really mean to search the whole DOM? It’s quite inefficient:
It seems like
each()is better thanfilter()because we can filter by padding and increase it in the same scope. It’s strongly adviseable to replace'*'with the most specific selector you can afford to use.