aspose file tools*
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
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: 60975
    
  65

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple version of jQuery autocomplete on same page