include jquery and use jQuery.noConflict(); before you include prototypeand
try again.

On Thu, Feb 26, 2009 at 2:20 PM, Radha Langde <
[email protected]> wrote:

>
> Hi........
>
> M hving javascript "scripts.js" which uses jQuery.js in rails
> application. bt when it is used along with prototype.js, one of the
> javascripts which hs been included first in my application.rhtml
> fails...
>
> Do some1 hv any solution how to make both the scripts work 2gether...
>
> I tried using
>    <script>
>    jQuery.noConflict();
>    </script>
> bt of no use. problem remains the same...
>
> any suggestions are greatly appriciated.........
>
> thankx..
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>


-- 
TWRUG Blog:
http://blog.rubyonrails.org.tw

CFC on Rails:
http://zusocfc.blogspot.com

Only two surfaces of a box:
http://blog.pixnet.net/zusocfc

--~--~---------~--~----~------------~-------~--~----~
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