 |

laredotornado2
New User
Feb 13, 2005, 7:38 PM
Post #1 of 2
(2108 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
|
|
|  |
 |

Cliff
Staff

Feb 14, 2005, 2:30 PM
Post #2 of 2
(2103 views)
Shortcut
|
|
Re: [laredotornado2] Help with HTMLArea Full HTML Editor
[In reply to]
|
Can't Post
|
|
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 http://www.htmlarea.com/forum/ 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 Regards, Cliff Stefanuk - Customer Service Manager support@interactivetools.com
|
|
|  |
|