I'm using the JavaScript ReplaceTextArea method, and I'm getting mixed results. I'm posting to a mySQL database. In Firefox on a Mac or PC, everything works fine -- FCKeditor works and data is posted.
PC IE, however, I keep getting an error claiming it can't find the textarea name or id.
Thanks for your help.
Here's a link to the editor:
http://66.118.157.72/editor/
Here's the code:
<script type="text/javascript" src="../fckeditor2/fckeditor.js"></script>
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( 'entry' ) ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
**snip**
<form method="post" name="entry" action="<?php echo $editFormAction; ?>">
<p id="editor">
<label>Homepage text</label><br />
<div>
<textare id="entry" name="entry" style="width: 100%; height: 400px"><?php echo $row_Recordset1['entry']; ?></textarea>
</div>
<input type="submit" value="Submit" />
<input type="hidden" name="fbf_update" value="entry">
<input type="hidden" name="id_number" value="<?php echo $row_Recordset1['id_number']; ?>">
</p>
</form>
RE: ReplaceTextarea problems in IE