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 closest parent element with the given tag name.
Srch.U.getParentElementByName(startingElement, tagName)
Return value
The closest parent element or self element with the given tag name; null if no matching element is found.
Parameters
startingElement
The element from which to start the search.tagName
The tag name for which to search.