Running jQuery and prototype scripts together

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.

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

lyntaff wrote:

You'll need to execute this after you load the jQuery file..

jQuery.noConflict();

Robby