Raster.findParentWithExpando( element, expandoName )

Search up the DOM herachy starting at the given element for a parent having the given expando name.

Parameters

Name Type   Description
element object DOM Element where the search starts
expandoName string Name of the expando to be looked up. This value is case sensitive.

Returns

Type Description
object Null is no parent with the given expando name was found. If the given element has the given expando name, the element itself is returned.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López