I have a textarea which I replaced with the new CKEditor 3.0. The textarea is inside a form which is submitted by ajax (so it's never really submitted per se). The problem I have is that after I type in my stuff in the editor, and immediately I click on the submit button, my form validation code which checks for empty fields tells me that the textarea is empty. I've discovered that to get the textarea updated, I need to click somewhere on the screen so that the editor is blurred. Only then will the content in the editor get saved into the textarea. In the config, I have set the config.autoUpdateElement = true; (although it is true by default, but just to make sure).
Is there anything I can do to get the content in the editor saved into the textarea without having the blur the editor first? Thanks!
Is there anything I can do to get the content in the editor saved into the textarea without having the blur the editor first? Thanks!

Re: Element not updated on ajax form submit
viewtopic.php?f=11&t=16044
var editorInstance = CKEDITOR.replace('intro', { on: { 'instanceReady': function(evt) { evt.editor.document.on('keyup', function() { document.getElementById('intro').value = evt.editor.getData(); }); evt.editor.document.on('paste', function() { document.getElementById('intro').value = evt.editor.getData(); }); } } });Re: Element not updated on ajax form submit
market samuraimarketsamuraimarketsamurai.com