Re: JQuery and AjaxHelper

2008-11-27 Thread Rafael Bandeira aka rafaelbandeira3

> I was wondering if there is anyway in order to still use the Ajax
> helper (I don't really want to write all the code to implement it
> everytime) while using JQuery instead of Prototype and Scriptaculous?

No. There's no way of doing this. AjaxHelper only spits code based on
Prototype and Scriptaculous, it does nothing more than this. If you
want something to spit code based on JQuery, you need either code your
own helper or search google for existing ones - there are some.
In my opinion:
- Javascript should be coded as such, so, why not to write the code on
a proper file and load it?
- If you still want it to be done on PHP - with a helper - do not go
for one. Write your own.
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



JQuery and AjaxHelper

2008-11-27 Thread Arak Tai'Roth

So, from what I have learned in order to use the Ajax Helper in
CakePHP I have to include the Prorotype and Scriptaculous libraries.
However I have a lot of things I would like to be able to do, all that
use JQuery, and I don't really want to have to include all 3 libraries
if I don't have to.

I was wondering if there is anyway in order to still use the Ajax
helper (I don't really want to write all the code to implement it
everytime) while using JQuery instead of Prototype and Scriptaculous?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---