Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.