I think in your case you should do this
echo $javascript->link('prototype');
echo $javascript->link('jquery', true);
...
var $j = jQuery.noConflict();

so... prototype before jquery... just reverse the order of inclusion


On Oct 7, 2:11 am, hahmadi82 <[email protected]> wrote:
> Hi,
> In my layout default.ctp I'm trying to do:
> echo $javascript->link('jquery', true);
> echo $javascript->link('prototype');
>
> I'm also using jquery and defined:
> var $j = jQuery.noConflict();
>
> along with replacing all the $ with $j in my jquery functions.  However my
> jquery UI still doesn't work properly if I try to link prototype.  Any ideas
> why the noConflict is not resolving this issue?
> --
> View this message in 
> context:http://www.nabble.com/Jquery-noConflict-not-working-tp25778058p257780...
> Sent from the CakePHP mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
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