| JavaScript DOM | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES |
Node | +--Element | +--HTMLElement
Fields | |
readonly NodeList | childNodes |
Array | children [IE] |
String | className |
style | currentStyle [IE] |
String | dir |
HTMLDocument | document |
Array | filters [IE] Valid only for some elements. |
String | id |
String | innerHTML [IE] |
String | innerText [IE] Valid for block elements only. Currently implemented as a readonly property. |
String | lang |
number | offsetHeight |
number | offsetLeft |
number | offsetParent |
number | offsetTop |
number | offsetWidth |
style | style |
String | title |
String | uniqueID [IE] |
Fields inherited from Element |
tagName |
Fields inherited from Node |
attributes, childNodes, firstChild, lastChild, nextSibling, nodeName, nodeType, nodeValue, ownerDocument, parentElement, parentNode, previousSibling |
Methods | |
number | addBehavior(String url) [IE] Currently you can only specify URLs, not IE default behaviors or object id's. |
boolean | attachEvent(String event, code notify) [IE] |
void | detachEvent(String event, code notify) [IE] |
void | insertAdjacentHTML(String where, String HTMLText) where is one of BeforeBegin, AfterBegin, BeforeEnd, AfterEnd. |
boolean | removeBehavior(number id) [IE] |
Methods inherited from Element |
getAttribute, getElementsByTagName, normalize, removeAttribute, setAttribute |
Methods inherited from Node |
appendChild, cloneNode, hasChildNodes, insertBefore, removeChild, removeNode, replaceChild |
| JavaScript DOM | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES |