Skip to main content

Bug Tracker

Side navigation

#14026 closed feature (duplicate)

Opened June 16, 2013 04:01AM UTC

Closed June 16, 2013 04:40AM UTC

New feature: ancestor()

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 2.0.2
Keywords: Cc:
Blocked by: Blocking:

A new feature that could have some use is the ancestor() feature which returns the nearest common ancestor of all the elements within a jQuery array. Supported on all major browsers (even IE 9) it has a low profile while adding extra functionality (ive) not seen before. It will only return one jQuery element at most, additional elements only broadens the scope at which it will search for the common ancestor.

I'm not sure if jQuery 1.9 is still being supported so haven't included the IE<9 code with it. Also, I believe the namespace may cause some headaches as its a generic term used for parents more than one tier up, so that can be changed without a problem.

Attachments (0)
Change History (1)

Changed June 16, 2013 04:40AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

Duplicate of #14027.