Srch.U.getParentAttributeByName Method (DisplayTemplatesSrch)
Gets the attribute value of the closest parent element for the given attribute name.
Srch.U.getParentAttributeByName(startingElement, attributeName)
Return value
The attribute value of the closest matching element; null if no matching element is found.
Parameters
startingElement
The element from which to start the search.attributeName
The attribute name for which to search.