ownerElement property (attribute)
Returns the element object that contains the current attribute.
Note: Internet Explorer supports the ownerElement property from version 8.
You can find the related objects in the Supported by objects section below.
This property is read-only.
Reference to the element that contains the current attribute.
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the ownerElement property:
Did you find this example helpful?
User Contributed Comments