Hello,
I am using the fckeditor on a form which loads values from my database for the user to edit. However, the fckeditor does not post the user's changes but instead submits back the original unchanged values.
Am I incorrectly populating the fckeditor (using the .value property)? Or is there some other change that I need to make to cause the fckeditor to submit the user's changes instead of the original values?
Here is my code below:
BTW: No javascript errors appear in my console.
I am using the fckeditor on a form which loads values from my database for the user to edit. However, the fckeditor does not post the user's changes but instead submits back the original unchanged values.
Am I incorrectly populating the fckeditor (using the .value property)? Or is there some other change that I need to make to cause the fckeditor to submit the user's changes instead of the original values?
Here is my code below:
<html> <head> <script type="text/javascript" src="/path/fckeditor.js" /> </head> <body> <form name="dataEntry" action="processData.jsp"> Enter data below: <script type="text/javascript"> var editor = new FCKeditor('fieldName'); editor.BasePath = "path/fckeditor/"; editor.Value = ' <c:out value="${fieldName}" />'; editor.Create(); </script> <input type="submit" value="Submit" /> </form> </body> </html>
BTW: No javascript errors appear in my console.
Re: Editor Not Saving