Re: jquery && prototype

2008-11-27 Thread Kyo

Hi, Diego.
You need to call jQuery.noConflict() so that jQuery wouldn't conflict
with the $ object of Prototype.
I don't recommend using several JavaScript frameworks together since
it will increase loading time of pages and things would be more
complicated.
AjaxHelper only generates code based on Prototype and Scriptaculous. I
don't use it normally with jQuery plugins.

hth

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: jquery && prototype

2008-11-27 Thread David C. Zentgraf

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

On 28 Nov 2008, at 12:10, Diego Villar wrote:

> boys,
>
> I am with a problem
>
> In one of my pages I use jQuery to launch windows thickbox, now I am  
> on the
> need to send a form via ajax on that same page, I wanted to use  
> prototype
> and $ ajax-> form (), with the surprising finding that it gives of  
> errors I
> read it there or by using jQuery or prototype, can not be loaded  
> together.
> Is this so?
>
> How can I send the form by ajax?
>
> thanks!
>
>
>
> --
> Diego
>
> >


--~--~-~--~~~---~--~~
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 && prototype

2008-11-27 Thread Diego Villar
boys,

I am with a problem

In one of my pages I use jQuery to launch windows thickbox, now I am on the
need to send a form via ajax on that same page, I wanted to use prototype
and $ ajax-> form (), with the surprising finding that it gives of errors I
read it there or by using jQuery or prototype, can not be loaded together.
Is this so?

How can I send the form by ajax?

thanks!



--
Diego

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---