Home: htmlArea 3 (beta): htmlArea 2 & 3 archive (read only): htmlArea v3.0 - Support Requests:
Doesn't work at all

New User

Feb 11, 2005, 1:41 PM

Views: 27888
Doesn't work at all

I dl'ed RC3 and am using the following code:

<script type="text/javascript"> 
_editor_url = "/htmlarea/";
_editor_lang = "en";
<script type="text/javascript" src="/htmlarea/htmlarea.js"></script>
<script type="text/javascript">
var editor = new HTMLArea.replace("ta");

<body bgcolor="#FFFFFF" text="#000000">
<div style="width:800px" align="center"><b>Current Mailing:</b></div>
<form name="form1" method="post" action="maileredit.php">
<textarea id="ta" name="ta" cols="80" rows="20">
bla bla bla
<div align="center" style="width:800px">
<input type="submit" name="Save" value="Save">
<input type="button" name="Cancel" value="Cancel">

When I view the page from the server, I just see the textarea.


Feb 11, 2005, 1:57 PM

Views: 27884
Re: [elmonty] Doesn't work at all

Would it help if the script to replace TA with htmlarea came after the definition of TA; I seem to have all my code doing that although I don't know whether that's an accident or by design



New User

Feb 13, 2005, 9:10 AM

Views: 27849
Re: [reg] Doesn't work at all

If I put it after the HTML, I get an error message that I have to call HTMLArea.init() first. Even if I *do* call HTMLArea.init(), I get the same error.

This thing is crap.