document.getElementById.innerHTML
<dd>22-oct-2009</doi>
vijayakumar durai wrote:i am getting error in this line object required document.getElementById.innerHTML=xmlDoc.getElementsByTagName("memberid")[0].childNodes[0].nodeValue; my xml format is like this <bookissue> <memberid>m0001</memberid> <bookname>c programming</bookname> <authorname>balagurusamy</authorname> <doi>12-oct-2009</doi> <dd>22-oct-2009</doi> </bookissue> is there syntax problem in this line? can anybody tell how to get these values?