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
noticed that no one replied to you, found another posting that helped me:
viewtopic.php?f=11&t=16044
intro is my instance name:
Re: Element not updated on ajax form submit
How does eval parse javascript in Ajax? After loading ajax tabs that contain calls to a dialog and a function which makes mutually exclusive check boxes. Should the javascript be in the ajax files and be parsed? Or should the javascript be loaded in the head of the main page and be added to it somehow?
__________________
market samurai ~ marketsamurai ~ marketsamurai.com