You are not logged in.
Hi,
im new to xinha and i have this problem. i have no idea how to solve this.
i want to insert some text to xinha editor for example "this is a test to insert to <the editor>".
i use insertHTML() to insert it to editor but when the editor display the text, it only shows this is a "test to insert to" the "<the editor>" is missing i think the editor is taking it as an invalid html tag.
how can i solve this that it would show the full text "this is a test to insert to <the editor>" in the editor?
thanks
noob.
Offline
The clue is in the method name, "insertHTML", is what you are inserting valid HTML, no it is not.
Valid HTML would be "this is a test to insert to <the editor>"
James Sleeman
Offline
cool thanks. it worked.. thanks alot..
Offline