htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
How to change content of htmlArea dynamically ?


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.

 


fmarchioni
New User

Feb 15, 2005, 1:00 AM

Post #1 of 2 (7068 views)
Shortcut
How to change content of htmlArea dynamically ? Can't Post

Hi all!

I'm using htmlArea in a server side application (JSP). The content is generated at runtime.

<textarea name="LESSON_CONTENT_HTML" style="width:800; height:400">

<%= dynamicText %>

</textarea>



Now what I really need is to reload the content of the Textarea without refreshing the page.

(Something like textArea.setText in a javascript).

Is it possible to do it ?

Thanks a lot

Francesco


fmarchioni
New User

Feb 16, 2005, 6:18 AM

Post #2 of 2 (7026 views)
Shortcut
Re: [fmarchioni] How to change content of htmlArea dynamically ? [In reply to] Can't Post

Hi again. As I have got no answers Frown, maybe I explained my need poorly.

What I only need is to change the content of the textarea with another html.

Something like this:

function change() {

form1.LESSON_CONTENT_HTML.value("<h1>New html</h1>");

}

Where LESSON_CONTENT_HTML is the name of the textarea.

I have tried also with LESSON_CONTENT_HTML.text but the textarea doesn't refresh

with this new content.

Can anybody help me ?

Regards

Francesco

 
 
 


Search for (options)