jQuery Trouver un élément précédent avec la classe

// HazaaZOOZ - jquery - How to find the previous element by or with class
// Example to find previous element by class and change the backgroud to yellow

 $( "p" ).prev( ".YourPreviousClass" ).css( "background", "yellow" );

HazaaZOOZ