x.innerHTML, which is the text value of x
x.nodeName, which is the name of x
x.nodeValue, which is the value of x
x.parentNode, which is the parent node of x
x.childNodes, which is the child nodes of x
x.attributes, which is the attributes nodes of x
x is a node object (HTML element).
x.getElementById(id), which gets the element with a specified id
x.getElementsByTagName(name), which gets all elements with a specified tag name
x.appendChild(node), which inserts a child node to x
x.removeChild(node), which removes a child node from x
x is a node object (HTML element).
|
If God had really intended man to fly, He’d make it easier to get to the airport. — Jonathan Winters |