I have created form in cakephp using $form object and i am accesing it
by id in js function. Generally we do validation in JS only so we
always mix JS and php to get results. I have followed
http://bakery.cakephp.org/articles/view/using-fckeditor-with-cakephp
to integrate fck.


On 4 Sep, 16:26, Aivaras <[email protected]> wrote:
> Why is it bad to mix JS with PHP? You can get some seriously cool results.
> Or when you need a custom ID for your element which you created via ajax,
> you still have to use PHP
>
> Faifas
>
> On Fri, Sep 4, 2009 at 13:55, martinp <[email protected]> wrote:
>
> > I would ask in a Javascript forum.... unless you're mixing up your PHP
> > and Javascript, which would be bad.
>
> > On Sep 4, 12:18 pm, bhushan A <[email protected]> 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 [email protected]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to