[thelist] Why don't JQuery and Prototype play well together?

Niklas niklaso at swipnet.se
Wed Feb 3 12:47:35 CST 2010


Hi,
You can use jQuery.noConflict() to resolve that problem I think.

http://api.jquery.com/jQuery.noConflict/

/Niklas

Bruce Gilbert wrote:
> Hi,
>
> I have a page I am working on with form fields. I added some JQuery to
> the fields so that they change color when you focus your mouse on
> them. This works great, but when I added a link to a prototype script,
> the JQuery script stopped working. I am just linking to the scripts as
> I would any JS. Anyone else had this problem before? I can post all
> the code if need to be, but it's a lot, so I was hoping not to. Also,
> I know you can do the focus change with CSS only w/o the JS, but this
> seems to only work in Firefox.
>
>
>
>   



More information about the thelist mailing list