• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple version of jQuery autocomplete on same page

 
Tarik Ansari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not supported to have two version of jQuery UI on the same page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic