I’m currently using both Prototype and JQuery in the same Rails app.
really something I’d recommend, but my designer (my wife) wrote a bunch
the webapp using JQuery before I ever touched it with Rails (including
Thickbox functionality), so in the interest of time, I kept her code
she also insisted that I keep it) and later on in the process I found
wanted to use some Prototype stuff as well.
I found this article to be helpful:
In each file and/or block using jquery code, I used a line like
var $j = jQuery.noConflict();
And then I replaced each $ with $j. It was tedious, and I had to modify
thickbox.js as well, but it all works together now.
Again, I don’t recommend using jquery and prototype at the same time
your wife decides that you will.
On 5/9/07, John L. [email protected] wrote:
On 3/20/07, Shai S. [email protected] wrote:
Just wanted to mention that by saying UJS has greater support I mean
in Rails. jQuery has many more resources and valuable results with a
simple Google search.
Terry (TAD) Donaghe