Hi  webdeveloperintexas ,

I am trying to set the value of FCKEditor through javascript/jquery, but it
could it reflect in that FCKEditor. Can you please tell me how to set the
value of FCKEditor through javascript/jquery.

Thanks in Advance.
Ashok

On Tue, Feb 17, 2009 at 8:42 AM, webdeveloperintexas <
prove.faith...@gmail.com> wrote:

>
> I had an iframe inside an iframe so this is what I had to use:
>
> var details = $("#details___Frame").contents().find("body").find
> ("#xEditingArea iframe").contents().find("body").html();
>
> Thank goodness for firebug!
>
>
> On Feb 16, 6:42 pm, webdeveloperintexas <prove.faith...@gmail.com>
> wrote:
> > I tried that and it did not work.
> >
> > On Feb 16, 4:04 pm, brian <bally.z...@gmail.com> wrote:
> >
> > > Try $('#xEditingArea').contents().find('body').html()
> >
> > > On Mon, Feb 16, 2009 at 3:31 PM, webdeveloperintexas
> >
> > > <prove.faith...@gmail.com> wrote:
> >
> > > > I'm attempting to get the contents of the page -- its HTML code.
> > > > Everything always returns null.
> > > > Here is what I tried:
> > > >                var details = $('#xEditingArea').html();
> > > >                alert("a"+details);  -- returns null
> > > >                var details = $('#xEditingArea iframe html
> body').html();
> > > >                alert("b"+details); -- returns null
> >
> > > > The page is using fckeditor and I need the contents of the fckeditor
> > > > which uses numerous iframes.
> >
> > > > The tags are these:
> > > > xEditingArea is the id of the td tag that then contains an iframe.
> > > > The iframe contains html then body tags.  None of these have any
> > > > identifying characteristics put on them by the fckeditor so I can't
> > > > retrieve them using an id.
> >
> > > > Is there something in jquery that prevents it from returning the
> html?
> > > > Is it the iframes that is causing the problem?
> > > > I've tried hundreds of combinations and can't figure it out.
> >
> > > > I am doing an autosave and it used to work with niceditor but then I
> > > > had to switch over to fckeditor and found this problem. I've spent 3
> > > > hours and have gotten nowhere.
> >
> > > > Any help would be appreciated.
>



-- 
Ashok
9884480769

Reply via email to