select title attr from div, coming from child tag
Hi everybody,
so i'm stuck with a little problem, but couldn't figure it out though. I have the following div
-
<div aria-disabled="true" class="dropwidget ui-droppable ui-state-highlight ui-droppable-disabled ui-state-disabled" title="blablabla1">
<a href="/msgpics/core/postgres-pages/img/managed43325.tmp" title="" class="preview"><img src="/msgpics/core/postgres-pages/img/managed43325.tmp?thumb" alt="" class="preview"></a>
<p>managed43325.tmp<img src="img/remove.gif" class="remove"></p>
</div>
and I receive the click on the remove.gif. What I want to do is to get the title attribute of the div around and write it into the <p> tag instead of the name of the file now. I've achieved several selection (yeah i'm new to jquery) but can't figure this one out.
So please help...!
Thanks