finding previous div with class
Hello,
I want to find all previous elements in the DOM (not parent elements) of element called 'feature'
$('#feature').prevAll(); // something like this
But I want to find all previous divs that have a css class assinged to them. the first previous div it finds I want to be able to retrieve the class name of that dic in a string.
thats it..is this possible? i am really stuck
Thanks for your help