Hi I have a rails appplication that uses jquery and prototype for different features. When adding the jquery library it seems all features in the application that uses prototype stop working. Should this happen? and if this is the case, how can I solve this? Many Thanks in advance.
on 2009-05-25 22:07
on 2009-05-26 03:42
Both jquery and prototype using $ sign for accessing DOM, you should change it to jQuery instead. jQuery('your_variable').method() http://docs.jquery.com/Using_jQuery_with_Other_Libraries
on 2009-05-26 04:28
You'll need to execute this after you load the jQuery file.. jQuery.noConflict(); Robby On Mon, May 25, 2009 at 11:06 AM, lyntaff <email@example.com> wrote: > > Many Thanks in advance. > > > -- Robby R. Chief Evangelist, Partner PLANET ARGON, LLC design // development // hosting w/Ruby on Rails http://planetargon.com/ http://robbyonrails.com/ http://twitter.com/planetargon aim: planetargon +1 503 445 2457 +1 877 55 ARGON [toll free] +1 815 642 4068 [fax]
on 2009-06-08 22:03