[jQuery] Getting the ID of the parent
I can find the parent:
$("#foo").parent();
I can find the ID of the current object:
$("#foo").get(0).id;
How do I find the ID of the parent? This doesn't work:
$("#foo").parent().get(0).id;
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/