| nodeValue | ใช้คืนค่า node value ของ node |
|---|
property:nodeValue;
return type:string
content:ถ้าเป็น element node จะคืนค่า null หรือค่าว่าง ถ้าเป็น attribute node จะคืนค่าค่าข้อมูลของ attribute ถ้าเป็น text node จะคืนค่า เนื้อหา
example:var tagDiv = document.getElementById ( "bamboo" ); alert ( tagDiv.nodeValue );