If I remove the JavaScript code everything is working fine. I also attached to this the script that I am using. My questions are: is html editor not supporting JavaScript code, or my code has something that is not working good?

Staff Member

With IE, we found that some javascript was being parsed and executed, thereby modifying the underlying document, simply by switching between the preview and code modes. FireFox didn't have this problem (nor other browsers tested, only IE)