Ralph Shnelvar wrote:
> I'm missing something basic ...
> 
> How does one install jQuery in RoR?

Use the following line in your layout
*********************************************************
<%= javascript_include_tag "jquery 1.2.3.4" %>
*********************************************************

alternatively, you can copy jquery files to your javascript folder and 
use :all option which will include/load all available javascript files
*********************************************************
<%= javascript_include_tag :all %>
*********************************************************

Note: you may encounter conflicts if you are using Prototype and Jquery 
together.  In that case, use
*********************************************************
jQuery.noConflict(); and then instead of "$" use "jQuery"
*********************************************************


-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to