nodeValue প্রপার্টি নোডের মান পাওয়ার জন্য ব্যবহার হয়। নোডটি নির্দিষ্ট করতে হবে।
উদাহরণ
<!DOCTYPE html> <html> <body> <p>Get the node value</p> <button>Demo Button Text</button> <script> var val = document.getElementsByTagName("BUTTON")[0]; var res = val.childNodes[0].nodeValue; document.write("<br>Node Value: "+res); </script> </body> </html>