// HazaaZOOZ - jquery - How to get the Previous element of element by class name jquery //Example to make the backgroud into yellow $(document).ready(function(){ $("li.start").prev().css( "background", "yellow" );; });