I've never used fckEditor before, but how about try using Firebug to
walk through the HTML to locate the parts created by fckEditor and see
how you can reference it. I found it very useful for referencing parts
of the DOM created by other plug-ins or scripts I'm not familiar with.

On May 26, 4:01 am, "saa...@gmail.com" <saa...@gmail.com> wrote:
> Yeah
>
> On 26 maijs, 16:53, Caires Vinicius <caire...@gmail.com> wrote:
>
> > You tried the innerHTML?
>
> > On Tue, May 26, 2009 at 10:21 AM, saa...@gmail.com <saa...@gmail.com> wrote:
>
> > > Good day
>
> > > How can I get current textarea that was changed in fckEditor value
> > > with javascript.
> > > I got:
> > > <textarea name="comment" id="comment">Hello</textarea>
> > > Then happens this: $('textarea').fck({ path:'/fckeditor/' }); , so now
> > > I get fckEditor insted my textarea. Then I change the original text in
> > > fckeditor to "Hello world". When I press the button with javascript
> > > like this:
> > > function myfunc(formid)
> > > {
> > >  gotForm = document.getElementById(formid);
> > >  newContent = gotForm.elements.comment.value;
> > > }
>
> > > Variable 'newContent' still has value only "Hello", NOT new value
> > > "Hello world".
>
> > > So the question - how can I get new value of fckEditor with my
> > > javascript?
>
> > > Best regards- Paslēpt citēto tekstu -
>
> > - Rādīt citēto tekstu -

Reply via email to