You are not logged in.
Hi all.
First a want to thanks alls Programmers and Community Members of the Xinha Projekt! Nice Work!
The only Problem i have with Xinha is to add content at the end of my Textarea. I want implement an Javascript function who add some content at the end of the body tag in my xinha editor.
To add Data at the current Position i used
var editor = xinha_editors["htmleditor"];
editor.insertHTML('some content');
But how can i add content at the end of the body in my Textarea DOMPath?
Please give me a hint.
Regards, Stefan
Offline
function append {
var content = editor.getHTML();
content = content + ' new content to append';
editor.setHTML(content);
}
something like that. Untested.
Offline
Thank you very much. I was too blind to solve this Problem.
Thank you
Offline