Refreshing CKEditor Box

  

Hi,

I am trying to use a CKEditor for input. I have a ComboBox that holds different records and when a new record is selected, the data for that record is meant to appear in the CKEditor using an OnChange action but it is not. On the initial load everything is fine and works well, but when I change the entry in the ComboBox, I get the error:                                                                                                                     

An exception occurred in the client script.

 Error: undefined


 Does anyone know how the JavaScript to do this?


Thanks.

Are you using ajax refresh to load the contents of CKEditor in Onchange event?

Suraj Borade wrote:

Are you using ajax refresh to load the contents of CKEditor in Onchange event?

Yes I am, the editor is encapsulated inside a container that contains the combo box and editor among others.


Hi Benjamin,

Have you tried to look at the error console in your browser (e.g. via the dev tools), and see if it gives more info than just "undefined"?