I'm using HTML editor in one of custom modules I have recently added.
I can easily get the typed/edited content of the editor when the form data is submitted (i.e. _POST["HTMLEditor"]), however I have problem trying to get its content without submiting the form.
I use (JavaScript) "document.forms[0].textarea.value" and get empty string despite the fact that HTML editor contains edited text.
How can I get the content of the HTML Editor by using Javascript without submitting the from data?
Thank you in advance...