I have a really simple problem.
How can I find the first previous element of another element? I tried the code below without success.
HTML:
&
Try this:
$('.C').click(function() { alert($(this).parent().prev('.A').html()); });