This is a migrated thread and some comments may be shown as answers.

[Solved] Problem using javascript to change the content of the editor in Chrome and Firefox (not IE7)

0 Answers 22 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Gonzalo
Top achievements
Rank 1
Gonzalo asked on 19 May 2011, 02:55 PM
Hello, 

i'm trying to change the content of the editor using javascript. To do that i use the next code:

 $("#TelerikAuthor").data("tEditor").value('<b>Something</b>');

It works fine in IE7, but when i try it in Chrome or in Firefox, the editor doesn't interpret HTML code, so, in the editor I get:

         <b>Something</b>

insted of:

         Something

I've search info about this problem in the forums, but i've not found anything.

Any idea?

Thanks
Tags
Editor
Asked by
Gonzalo
Top achievements
Rank 1
Share this question
or