Hello,
can I store my data from the editor in one javascript variable without reloading the page (submitting submit button)?
Usually I get my new data with $_POST["FCKeditor1"] and PHP, but in this case I need new data without reloading the page.
I tried to do this with document.getElementById('FCKeditor1').value, but with this code I get default data, which is inserted on editor launch.
Thank you for help!
can I store my data from the editor in one javascript variable without reloading the page (submitting submit button)?
Usually I get my new data with $_POST["FCKeditor1"] and PHP, but in this case I need new data without reloading the page.
I tried to do this with document.getElementById('FCKeditor1').value, but with this code I get default data, which is inserted on editor launch.
Thank you for help!
RE: Getting editor data without submit button
try editorInstance.GetHTML(). For more info see http://wiki.fckeditor.net/Developer%27s ... script_API
Or 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