[jQuery] ID of parent

[jQuery] ID of parent

<html>
<body>
Hi folks,
Not a new question to this list, I know, but I'm having difficulty in
getting the ID of a parent.  From the examples on Nabble, I've
tried
<tt>var ej =
$("#sText").parent().attr("id");
</tt>and various renditions on the them, but the best I get reported is
[object Object].  I'd appreciate a pointer to the solution.
Thanks,
Bruce</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/