This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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
Author

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.

Thanks
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61092
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Don't get me started about those stupid light bulbs.
 
subject: Multiple version of jQuery autocomplete on same page