jquery check if following LI has class
In jQuery - how can I check to see if a <li> that follows another has a class or not. Markup is: <ul> <li><a href"#">Title 1</a></li> <li class="LI_sector_child"><a href"#">Title 2</a></li> <li><a href"#">Title 3</a></li> <li><a href"#">Title 4</a></li> </ul> So, I want…