Help with HTMLArea Full HTML Editor

2 posts by 2 authors in: Forums > Off Topic / Other
Last Post: February 14, 2005   (RSS)

By laredotornado2 - February 13, 2005

Hello, I just downloaded all the HTMLArea tools. I am trying to use Javascript to extract the value of the FullHTML Editor. However, when I try and use

var val = document.getElementById('editor').value;

my value is always empty, even if there is stuff typed in. Here is some of my code:

<script type="text/javascript">
_editor_url = "./";
_editor_lang = "en";

<!-- load the main HTMLArea files -->
<script type="text/javascript" src="htmlarea.js"></script>

<script type="text/javascript">

function initDocument() {
var editor = new HTMLArea("editor");
<body class="adminPage" onLoad="initDocument();">
<textarea name="editor" id="editor" style="height: 30em; width: 100%;"></textarea>

Can someone tell me how to extract the value?

Thanks, - Dave

Re: [laredotornado2] Help with HTMLArea Full HTML Editor

By itoolssupport - February 14, 2005

Hi Dave

Thanks for posting!

Since htmlArea is an open source application, we don't offer support on it. But there are alternatives: first, you could do a search on [url ""][/#0000ff][/url] to see if your question has already been asked and answered. If not, you could just post your question - the htmlArea community are an extremely helpful bunch, and between them they'd probably be able to answer you a lot better than we will!

Hope this helps [cool]

Interactivetools - Support