Conflict between AutoCompleteTextField and plugin clutip of JQuery

2 messages Options
Embed this post
Permalink
easydoor-4

Conflict between AutoCompleteTextField and plugin clutip of JQuery

Reply Threaded More More options
Print post
Permalink
Hi,

There is a JS conflict between AutoCompleteTextField and cluetip plugin of
JQuery. When I put a JQuery cluetip Call on a page which contains an
AutoCompleteTextField, the Jquery ClueTip Window doesn't appear.
Why ?

Bob Schellink-2

Re: Conflict between AutoCompleteTextField and plugin clutip of JQuery

Reply Threaded More More options
Print post
Permalink
Hi Christophe,

AutoCompleteTextField is based on the Prototype JavaScript library which
clashes with jQuery.

You might get the two libs to work together by specifying
jQuery.noConflict() as outlined here:

http://docs.jquery.com/Using_jQuery_with_Other_Libraries

However its probably not a good idea to mix different JS libraries in
your application, so instead you can create a AutoCompleteTextField
based on jQuery:

http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/

Hope this helps.

bob

easydoor95 wrote:
> Hi,
>
> There is a JS conflict between AutoCompleteTextField and cluetip plugin of
> JQuery. When I put a JQuery cluetip Call on a page which contains an
> AutoCompleteTextField, the Jquery ClueTip Window doesn't appear.
> Why ?
>
>