htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Support Requests:
Help with HTMLArea Full HTML Editor


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


laredotornado2
New User

Feb 14, 2005, 5:08 PM

Post #1 of 1 (21759 views)
Shortcut
Help with HTMLArea Full HTML Editor Can't Post

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";
</script>

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

<script type="text/javascript">
HTMLArea.loadPlugin("FullPage");

function initDocument() {
var editor = new HTMLArea("editor");
editor.registerPlugin(FullPage);
editor.generate();
}
</script>
</head>
<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

 
 
 


Search for (options)