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 20:07
on 2009-05-26 01: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 02: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 Russell 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 20:03