getElementAttributeOrCssValue
A utility function that first tries getting the value for given name
using getElementAttribute. If not found, getElementCssValue is tried.
getElementAttributeOrCssValue(elemId, property)
#
ParameterselemId
: The target elementname
: The attribute name or property name to search
#
Returns- Found value or nothing if no value exists