Hello,
i create a fckedito ron my page and want to read the content via javascript
when i use this
alert(document.getElementById("FCKeditor1").value);
i always get the startcontent. When i change the content and alert it again , i get the startcontent , not the changed content. Why? How can i fix this?
i create a fckedito ron my page and want to read the content via javascript
when i use this
alert(document.getElementById("FCKeditor1").value);
i always get the startcontent. When i change the content and alert it again , i get the startcontent , not the changed content. Why? How can i fix this?
RE: FCKEditor to Ajax
Check the FCKEditor API and GetXHTML() method.
Don't access the instance directly.
http://wiki.fckeditor.net/Developer%27s ... script_API
http://wiki.fckeditor.net/FAQ/JavaScript
See "How do I dynamically change the content in the editor with JavaScript?"
SelfMan
RE: FCKEditor to Ajax
perhaps my ajaxPost plugin is interesting for you?
personal page and demo for the plugin: http://www.saulmade.nl/FCKeditor/FCKPlugins.php
plugin and download page at sourceforge: http://sourceforge.net/tracker/index.ph ... tid=737639
forumThread: http://sourceforge.net/forum/forum.php? ... _id=257179