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

var ej = $("#sText").parent().attr("id");

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 
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to