A directory of browser-based WYSIWYG editors


Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Discussion:
Errro with HTMLArea.replace() function

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.


New User

Dec 28, 2004, 8:54 PM

Post #1 of 2 (2385 views)
Errro with HTMLArea.replace() function Can't Post

Dear friends,

I'm using the htmlArea in an application but I found a little problem.

If I use the <body onload="HTMLArea.replaceAll();"> method, the htmlArea works fine, BUT, if I change to <body onload="HTMLArea.replace("html");"> and change the <textarea> tag like: <textarea id="html" name="html" rows="20" cols="122"></textarea>, the htmlArea doesn't works.

Anyone can help me with this issue?

Regards from Brazil

Paulino Michelazzo
New User

Dec 30, 2004, 3:37 PM

Post #2 of 2 (2354 views)
Re: [pmichelazzo] Errro with HTMLArea.replace() function [In reply to] Can't Post

I believe I ran into something similar. Try:

<body onload="HTMLArea.replace('html');">

This replaces the double quotes with single quotes.


Search for (options)