I also have only two libraries in the head section the prototype and the jquery but the former is heading the latter I used the magic noConflict method as you typed in your post everything is ok in my application
I am using prototype 1.6.1 jquery 1.3.2 do this procedure on a blank page to see if they are compatible together or try firebug or any debugging technique/extension you know On Oct 7, 10:39 pm, hahmadi82 <[email protected]> wrote: > I tried every possible order. Which did not work. I also don't have other > libraries included in the file that would have $. Are there any other > potential solutions? > > > > > > robust solution wrote: > > > 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. > > -- > View this message in > context:http://www.nabble.com/Jquery-noConflict-not-working-tp25778058p257930... > Sent from the CakePHP mailing list archive at Nabble.com.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
