This is my error that I am getting.
Error: description is not defined
This is my code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Add a Home to your Listings</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript">
_editor_url = "htmlarea/";
_editor_lang = "en";
</script>
<script type="text/javascript" src=http://www.codingforums.com/archive/index.php/"htmlarea/htmlarea.js"></script>
<script type="text/javascript" defer="1">
HTMLArea.replace(description);
</script>
<link rel="stylesheet" type="text/css" href=http://www.codingforums.com/archive/index.php/"style.css">
</head>
Code down in the body
<tr>
<td bgcolor="#EEEEEE"><strong>Description</strong></td>
<td>
<div align="left">
<textarea name="description" cols="55" rows="8"></textarea>
</div></td></tr>
If anyone could offer some assistance that would be great. Thanks.
codegoboom
11-24-2004, 12:25 AM
Without seeing the code for the replace method, it is not possible to know, but I'd guess that you need to send it a string, so try quoting the textarea name, like HTMLArea.replace("description");
Don't they have a support forum where you got this script?
subnet_rx
11-24-2004, 06:37 PM
I've tried this script, and yeah, they do, but it's very slow, and mostly filled with people with problems, instead of the answers. I have been looking for another script like it, but not having much luck
codegoboom
11-25-2004, 01:26 AM
I figured it out. Lem is trying to use a script designed to work in "I.E. 5.5 or greater" in some other browser. Well duh. :D