Scott, thanks for your replies

I did get this to work

                        $('#test').click(function(){
                                                
alert($.ckeditor.instance("fck").getData());
                        });

fck i the id of the textarea I'm using

now this works because by the time i press the button the ckeditor is
load so now I'm trying to figure out when it is load so I can apply
things to it once its loaded rather than have a user click a button.

Mike

On Dec 16, 3:26 pm, Scott Sauyet <scott.sau...@gmail.com> wrote:
> On Dec 16, 2:57 pm, Mean Mike <mcgra...@gmail.com> wrote:
>
> > maybe I have something setup wrong but every time I run that I get an
> > js error "CKEDITOR is not defined" on line 32 of jquery.CKEditor.js
>
> Have you done this?:
>
>     $.ckeditor.config = {path: '/path/to/ckeditor/directory/', height:
> 300 };
>
> It seems as though the jQ plug-in uses this to actually load the
> CKEditor code rather than declaring it in the HTML markup.  I don't
> know why...
>
>   -- Scott

Reply via email to