Skip to main content

Bug Tracker

Side navigation

#47 closed bug (fixed)

Opened July 07, 2006 04:50AM UTC

Closed July 17, 2006 02:10AM UTC

Last modified June 20, 2007 01:17AM UTC

Problems with .parent()

Reported by: john Owned by:
Priority: major Milestone: 1.0
Component: core Version: 1.0
Keywords: Cc:
Blocked by: Blocking:
Description

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;

Attachments (0)
Change History (1)

Changed July 17, 2006 02:10AM UTC by john comment:1

resolution: → fixed
status: newclosed

I think this has been resolved in SVN, as it works for me:

http://john.jquery.com/jquery/test/parent.html