sayedsohail Posted July 27, 2007 Share Posted July 27, 2007 Hi everyone, I am trying to update my <textarea id='txtcomments'></textarea> document.getElementById("txtcomments").innerHTML = "xyz"; In firefox it works fine but in IE although it updates but at the same time showing error message on status bar saying 'unknown runtime error'. Any help is greatly appreciated. Link to comment https://forums.phpfreaks.com/topic/62020-solved-innerhtml-textarea-not-working/ Share on other sites More sharing options...
micah1701 Posted July 27, 2007 Share Posted July 27, 2007 i'm pretty sure that you set the text area's value like any other form element: document.getElementById("txtcomments").value = "xyz"; Link to comment https://forums.phpfreaks.com/topic/62020-solved-innerhtml-textarea-not-working/#findComment-308883 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.