This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Multiple version of jQuery autocomplete on same page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Multiple version of jQuery autocomplete on same page" Watch "Multiple version of jQuery autocomplete on same page" New topic

Multiple version of jQuery autocomplete on same page

Tarik Ansari
Ranch Hand

Joined: Dec 31, 2008
Posts: 50
Hi All,
I need to have two autocomplete box as a part of my current requirement. It already had normal autocomplete box which was previously implemented with autocomplete version 1.0.2, Now i have implemented another autocomplete box with auto-complete UI Version 1.8.16. So necessity is multiple version of jQuery autocomplete need to run on same page which is causing conflict kind of issue.Ofcourse, previously implemented autocomplete box cannot be redone or upgraded.

Issue: Autocomplete 1 (implemented with 1.0.2) works only when i comment the autocomplete plugin 1.8.16

I want to make both the functions work.

Could you please advise what can be done on this?

Any leads would be much appreciated.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
WHY not upgrade? It is a waste to have duplicated code.

Only way to have both is to rename one of the widgets to be a different name.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

It is not supported to have two version of jQuery UI on the same page.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Multiple version of jQuery autocomplete on same page
It's not a secret anymore!