jQuery encontrar elemento anterior con clase
// 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