Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-11-08 09:06:14

thEonE
New member
Registered: 2008-11-08
Posts: 3

How can i access the entered text by js ?

Hi there!
I'm using yui in my cms and i wanted to use xinha as texteditor so I load it in page everything was ok but when i try to get the entered text so i can submit my form with js there is no returned value.
In other word : I need to get entered text in xinha by js so i can post it to server. (and there is no form submit)
something like this :
document.getElementById("myTextArea").value;
Any idea how can i access the entered text by js ?

Offline

#2 2008-11-09 03:06:38

thEonE
New member
Registered: 2008-11-08
Posts: 3

Re: How can i access the entered text by js ?

Is it impossible ? sad

Offline

#3 2008-11-09 03:17:11

thEonE
New member
Registered: 2008-11-08
Posts: 3

Re: How can i access the entered text by js ?

Wow i just found it :
xinha_editors.myTextArea.getEditorContent();
Thanks for your really active forum!!!

Offline

Board footer

Powered by FluxBB