using jquery 1.11.1 jquery UI - v1.11.2
I have two jquery
auto-complete user controls in asp.net that using the mcautocomplete
widget. The two auto-completes are in different .js files and are going against different data sources. The first ends up putting it's data into a cAgencyID
class
, the second and different js puts its data into a class called cClassID
.
The issue I have is when I have these two users controls on the same page which ever control is at the top does not allow for mouse selection once the autocomplete is populated. If I switch the order of the user controls again the top one does not allow for selection by the mouse once it's populated with data. Both of these user controls work fine regardless of the order if I use the keyboard to select item I want.
If I have the user controls on pages by themselves they work as you would expect with the mouse being able to select the item.
When it is working and you go to select an item the mouse turns to a pointing hand. That does not happen when there are two user controls on the page at the same time.
I put one of the controls up on fiddle. Thing is.. again, this is working in my aspx page but when in fiddle i'm getting an error of cannot read poperty 'autocomplete' of undefined. I'm not sure where my error is. It's hard to reproduce the problem that i'm having till i get this working in fiddle. once i get it working (any help would be great) i can try to mash the two controls together for your consideration. thanks shannon