fluid.findAncestor(element, test)
Example
In this example, fluid.findAncestor() is used to find an ancestor of smallHeader that has a desired selector.
Labels:
None
| This documentation refers to the current trunk of the Infusion code and is being updated to reflect ongoing changes. As a result, it may contain information that is not relevant to the latest release, 1.4. For documentation related to v1.4 and earlier, please see the Infusion v1.4 Documentation |
In this example, fluid.findAncestor() is used to find an ancestor of smallHeader that has a desired selector.