views:

32

answers:

0

Hi,

I am getting Unknown Runtime Error When Using innerHTML for setting html form text field value in Line2

//Line1
var topicName = msgXML.getElementsByTagName("tname")[0].childNodes[0].nodeValue;

//Line2
document.editDataForm.editTopic.innerHTML = topicName