[jQuery] Search for a parent element

[jQuery] Search for a parent element


Hi,
is it possible to find a parent element? See following example:
<div _prop="test">1
<div>2
<div>3
<div>4
</div>
</div>
</div>
</div>
$("div[@_prop=test]").bind("click", function(ev) {
alert($(ev.srcElement).html());
});
If you run this you will always get the element under the mouse
instead of the _prop element (which you want to get). What I'm
searching for is something like:
$("div[@_prop=test]").bind("click", function(ev) {
alert($(ev.srcElement).findParent("div[@_prop=test]").html());
});
Michael