|
JavaScript Programmer's Reference - Element Object
irt.org | XRef | HTML | Element
Element Object
Element Methods
| Name | MSIE | NNav | Notes |
| addBehavior() | 5 | - | |
| applyElement() | 5 | - | |
| clearAttributes() | 5 | - | This may not be supported on all platforms that MSIE runs on. |
| click() | 4 | - | |
| componentFromPoint() | 5 | - | |
| contains() | 4 | - | |
| doScroll() | 5 | - | |
| getAdjacentText() | 5 | - | |
| getAttribute() | 4 | 6 | |
| getAttributeNode() | 5 | 6 | |
| getElementsByTagName() | 5 | 6 | |
| getExpression() | 5 | - | |
| insertAdjacentHTML() | 4 | - | You cannot call this method while the document is loading. |
| insertAdjacentText() | 4 | - | You cannot call this method while the document is loading. |
| mergeAttributes() | 5 | - | |
| normalize() | - | 6 | |
| releaseCapture() | 5 | - | |
| removeAttribute() | 4 | 6 | |
| removeAttributeNode() | 5 | 6 | |
| removeBehavior() | 5 | - | |
| removeExpression() | 5 | - | |
| replaceAdjacentText() | 5 | - | |
| scrollIntoView() | 4 | - | |
| setAttribute() | 4 | 6 | |
| setAttributeNode() | 5 | 6 | |
| setCapture() | 5 | - | |
| setExpression() | 5 | - | |
Element Properties
| Name | MSIE | NNav | Notes |
| canHaveChildren | 5 | - | |
| canHaveHTML | 5.5 | - | |
| className | 4 | 6 | This property used to be called Element.class but has been renamed as of DOM l |
| clientHeight | 4 | - | |
| clientLeft | 4 | - | |
| clientTop | 4 | - | |
| clientWidth | 4 | - | |
| contentEditable | 5.5 | - | |
| currentStyle | 5 | - | |
| dir | 5 | 6 | |
| document | 4 | - | |
| firstChild | 5 | 6 | |
| hideFocus | 5.5 | - | |
| id | 4 | 6 | |
| innerHTML | 4 | 6 | |
| innerText | 4 | - | |
| isContentEditable | 5.5 | - | |
| isDisabled | 5.5 | - | |
| isTextEdit | 4 | - | |
| lang | 4 | 6 | |
| language | 4 | - | |
| lastChild | 5 | 6 | |
| nextSibling | 5 | 6 | |
| nodeName | 5 | 6 | |
| nodeType | 5 | 6 | |
| nodeValue | 5 | 6 | |
| offsetHeight | 4 | - | The offset properties are implemented vary inconsistently across platforms and versions of MSIE. |
| offsetLeft | 4 | - | The offset properties are implemented vary inconsistently across platforms and versions of MSIE. |
| offsetParent | 4 | - | The offset properties are implemented vary inconsistently across platforms and versions of MSIE. |
| offsetTop | 4 | - | The offset properties are implemented vary inconsistently across platforms and versions of MSIE. |
| offsetWidth | 4 | - | The offset properties are implemented vary inconsistently across platforms and versions of MSIE. |
| onevent | 5 | 4 | |
| outerHTML | 4 | - | |
| outerText | 4 | - | |
| ownerDocument | 5 | 6 | |
| parentElement | 4 | - | |
| parentNode | 5 | 6 | |
| parentTextEdit | 4 | - | |
| previousSibling | 5 | 6 | |
| readyState | 4 | - | |
| runtimeStyle | 5 | - | |
| scopeName | 5 | - | |
| scrollHeight | 5 | - | This functionality is sufficiently unportable as to preclude its use from any useful purpose. |
| scrollLeft | 5 | - | This functionality is sufficiently unportable as to preclude its use from any useful purpose. |
| scrollTop | 5 | - | This functionality is sufficiently unportable as to preclude its use from any useful purpose. |
| scrollWidth | 5 | - | This functionality is sufficiently unportable as to preclude its use from any useful purpose. |
| sourceIndex | 4 | - | This value may change if new objects are added to the document. |
| style | 4 | 6 | |
| tagName | 4 | 6 | |
| tagUrn | 5 | - | |
| title | 4 | 6 | |
| uniqueID | 5 | - | |
Element Collectons
| Name | MSIE | NNav | Notes |
| all[] | 4 | - | |
| attributes[] | 5 | 6 | |
| behaviorUrns[] | 5 | - | |
| childNodes[] | 5 | 6 | |
| children[] | 4 | - | |
| filters[] | 4 | - | |
irt.org | XRef | HTML | Element
|
|
Copyright © 1996-2008 irt.org, All Rights Reserved.