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. Quote Link to comment 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"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.