jquery - Load ckeditor in ajax content -


I am using CKEditor to convert my readers into a wysiwyg. All this works fine, except when I load the content through an Ajax call. Then my CKAditor does not load.

I have searched for a solution, but no one has got the job done for me.

My Ajax Call basically looks like this: $ ('.ckeditor') .ctdater ();}});

As you can see, I tried to load Ceciditator to the program to use the function ckeditor () . But this gives me the following error:

Firefox says:

$ (".ckeditor"). The Ckeditor function is not

and IE says:

Object property or method does not support 'ckeditor'

Is there any other way to load CKAditor by name of the class when the content is loaded through an Ajax call ??

There is a way around this to load your ckeditor like always, but keep it hidden. And when the content is loaded through AJAX, then the editor pops the div and displays it via jquery.

Comments