1) enable the javascript helper
2) add $javascript->link('jquery-12.6') to your layouts/default.ctp - also
put jquery1.2.6 in webroot/js
you can pass an array of files to the javascript->link call.
$javascript->link(Array('jquery-12.6', 'plugins/jquery-validation'))
note that you don't put file suffixes on and that in the above example
jquery-validation is in side a directory within js called plugins
There no need for a jquery helper
2008/12/3 ridwan arifandi <[EMAIL PROTECTED]>
>
> i'm a newbie in cakephp programming.
>
> cakephp uses prototype as ajax framework, but i dislike prototype just
> love jquery.
>
> i found lot of posts that discusing about cakephp with jquery, but
> none of them can satisfy me and all of them cannot work when i use
> them.
>
> before using cakephp, i have better knowledge in wordpress and i can
> use jquery within it. but with cakephp, i think it's too hard to embed
> with jquery such as ajax validatiion etc.
>
> would you like to help me give some working application with jquery.
>
> anyway, thanks for your help
>
> ps : sory for my poor english
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---