DOM - Methods and Properties
HTML DOM Objects - Methods and Properties Some commonly used HTML DOM methods: getElementById(id) - get the node (element) with a specified id appendChild(node) - insert a new child node (element) removeChild(node) - remove a child node (element) Some commonly used HTML DOM properties: innerHTML - the text value of a node (element) parentNode - the parent node of a node (element) childNodes - th..
■ 프론트엔드 ■/HTML
2013. 10. 13. 21:28