bhushan, I think the problem is the text is not yet inside the textarea. Before you validate the value you can do this:
get the content from fck: var oEditor = FCKeditorAPI.GetInstance(instancename); var contents = oEditor.GetXHTML(true); validate the var contents or copy the content into your element: document.getElementById('<specified value>').value = contents I hope this helps On Sep 4, 7:18 am, bhushan A <bhushanahir...@gmail.com> wrote: > Hi All, > > I have integrated fck editor in cakephp. But unable to apply JS > validation for that field. I have tried with > " document.getElementById('<specified value>').value". But it is > showing blank value though i have entered sometext in it. Please > help. > You can mail me on bhushanahir...@gmail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---