Jump to content

[SOLVED] innerHTML textarea not working?


sayedsohail

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.