I have a piece of code that works but only for the first paragraph. I want to add a class and wrap in another class the first paragraph of all the classes service-more
I’m a beginner at jQuery so I have no clue why this happens. Do I need a loop?
Here’s the fiddle:
http://jsfiddle.net/Xxrr5/
Thanks
Select the class by it self first then use find:
http://jsfiddle.net/Xxrr5/1/